pub enum Error {
Show 81 variants
EmptyInputField {
location: Location,
},
MissingInputField {
location: Location,
},
ProcessorMustBeMap {
location: Location,
},
ProcessorMissingField {
processor: String,
field: String,
location: Location,
},
ProcessorExpectString {
processor: String,
v: Value,
location: Location,
},
ProcessorUnsupportedValue {
processor: &'static str,
val: String,
location: Location,
},
ProcessorKeyMustBeString {
location: Location,
},
ProcessorFailedToParseString {
kind: String,
value: String,
location: Location,
},
ProcessorMustHaveStringKey {
location: Location,
},
UnsupportedProcessor {
processor: String,
location: Location,
},
FieldMustBeType {
field: String,
ty: String,
location: Location,
},
FailedParseFieldFromString {
error: Box<dyn Error + Send + Sync>,
field: String,
location: Location,
},
FailedToParseIntKey {
key: String,
value: String,
error: ParseIntError,
location: Location,
},
FailedToParseInt {
value: String,
error: ParseIntError,
location: Location,
},
FailedToParseFloatKey {
key: String,
value: String,
error: ParseFloatError,
location: Location,
},
IntermediateKeyIndex {
kind: String,
key: String,
location: Location,
},
CmcdMissingValue {
k: String,
s: String,
location: Location,
},
CmcdMissingKey {
part: String,
s: String,
location: Location,
},
KeyMustBeString {
k: Yaml,
location: Location,
},
CsvRead {
location: Location,
error: Error,
},
CsvNoRecord {
location: Location,
},
CsvSeparatorName {
separator: &'static str,
value: String,
location: Location,
},
CsvQuoteName {
quote: &'static str,
value: String,
location: Location,
},
DateParseTimezone {
value: String,
error: ParseError,
location: Location,
},
DateParse {
value: String,
error: ParseError,
location: Location,
},
DateFailedToGetLocalTimezone {
location: Location,
},
DateFailedToGetTimestamp {
location: Location,
},
DateInvalidFormat {
s: String,
processor: String,
location: Location,
},
DissectInvalidPattern {
s: String,
detail: String,
location: Location,
},
DissectEmptyPattern {
location: Location,
},
DissectSplitExceedsInput {
split: String,
location: Location,
},
DissectSplitNotMatchInput {
split: String,
input: String,
location: Location,
},
DissectConsecutiveNames {
name1: String,
name2: String,
location: Location,
},
DissectNoMatchingPattern {
location: Location,
},
DissectModifierAlreadySet {
m: String,
modifier: String,
location: Location,
},
DissectAppendOrderAlreadySet {
n: String,
order: u32,
location: Location,
},
DissectOrderOnlyAppend {
m: String,
location: Location,
},
DissectOrderOnlyAppendModifier {
location: Location,
},
DissectEndModifierAlreadySet {
m: String,
location: Location,
},
EpochInvalidResolution {
resolution: String,
location: Location,
},
GsubPatternRequired {
location: Location,
},
GsubReplacementRequired {
location: Location,
},
Regex {
error: Error,
pattern: String,
location: Location,
},
JoinSeparatorRequired {
location: Location,
},
LetterInvalidMethod {
method: String,
location: Location,
},
RegexNamedGroupNotFound {
origin: String,
location: Location,
},
RegexNoValidField {
processor: String,
location: Location,
},
RegexNoValidPattern {
processor: String,
location: Location,
},
UrlEncodingInvalidMethod {
s: String,
location: Location,
},
UrlEncodingDecode {
error: FromUtf8Error,
location: Location,
},
TransformOnFailureInvalidValue {
value: String,
location: Location,
},
TransformElementMustBeMap {
location: Location,
},
TransformTypeMustBeSet {
fields: String,
default: String,
location: Location,
},
TransformEmpty {
location: Location,
},
TransformColumnNameMustBeUnique {
duplicates: String,
location: Location,
},
TransformMultipleTimestampIndex {
columns: String,
location: Location,
},
TransformTimestampIndexCount {
count: usize,
columns: String,
location: Location,
},
CoerceUnsupportedNullType {
location: Location,
},
CoerceUnsupportedNullTypeTo {
ty: String,
location: Location,
},
CoerceUnsupportedEpochType {
ty: String,
location: Location,
},
CoerceStringToType {
s: String,
ty: String,
location: Location,
},
CoerceJsonTypeTo {
ty: String,
location: Location,
},
CoerceTypeToJson {
ty: String,
location: Location,
},
CoerceIncompatibleTypes {
msg: String,
location: Location,
},
ValueInvalidResolution {
resolution: String,
valid_resolution: String,
location: Location,
},
ValueParseType {
t: String,
location: Location,
},
ValueParseInt {
ty: String,
v: String,
error: ParseIntError,
location: Location,
},
ValueParseFloat {
ty: String,
v: String,
error: ParseFloatError,
location: Location,
},
ValueParseBoolean {
ty: String,
v: String,
error: ParseBoolError,
location: Location,
},
ValueDefaultValueUnsupported {
value: String,
location: Location,
},
ValueUnsupportedNumberType {
value: Number,
location: Location,
},
ValueUnsupportedYamlType {
value: Yaml,
location: Location,
},
ValueYamlKeyMustBeString {
value: Yaml,
location: Location,
},
YamlLoad {
error: ScanError,
location: Location,
},
PrepareValueMustBeObject {
location: Location,
},
ColumnOptions {
source: Error,
location: Location,
},
UnsupportedIndexType {
value: String,
location: Location,
},
UnsupportedNumberType {
value: Number,
location: Location,
},
IdentifyPipelineColumnTypeMismatch {
column: String,
expected: String,
actual: String,
location: Location,
},
JsonPathParse {
location: Location,
error: JsonPathParserError,
},
JsonPathParseResultIndex {
location: Location,
},
}
Variants§
EmptyInputField
Fields
§
location: Location
MissingInputField
Fields
§
location: Location
ProcessorMustBeMap
Fields
§
location: Location
ProcessorMissingField
ProcessorExpectString
ProcessorUnsupportedValue
ProcessorKeyMustBeString
Fields
§
location: Location
ProcessorFailedToParseString
ProcessorMustHaveStringKey
Fields
§
location: Location
UnsupportedProcessor
FieldMustBeType
FailedParseFieldFromString
FailedToParseIntKey
FailedToParseInt
FailedToParseFloatKey
IntermediateKeyIndex
CmcdMissingValue
CmcdMissingKey
KeyMustBeString
CsvRead
CsvNoRecord
Fields
§
location: Location
CsvSeparatorName
CsvQuoteName
DateParseTimezone
DateParse
DateFailedToGetLocalTimezone
Fields
§
location: Location
DateFailedToGetTimestamp
Fields
§
location: Location
DateInvalidFormat
DissectInvalidPattern
DissectEmptyPattern
Fields
§
location: Location
DissectSplitExceedsInput
DissectSplitNotMatchInput
DissectConsecutiveNames
DissectNoMatchingPattern
Fields
§
location: Location
DissectModifierAlreadySet
DissectAppendOrderAlreadySet
DissectOrderOnlyAppend
DissectOrderOnlyAppendModifier
Fields
§
location: Location
DissectEndModifierAlreadySet
EpochInvalidResolution
GsubPatternRequired
Fields
§
location: Location
GsubReplacementRequired
Fields
§
location: Location
Regex
JoinSeparatorRequired
Fields
§
location: Location
LetterInvalidMethod
RegexNamedGroupNotFound
RegexNoValidField
RegexNoValidPattern
UrlEncodingInvalidMethod
UrlEncodingDecode
TransformOnFailureInvalidValue
TransformElementMustBeMap
Fields
§
location: Location
TransformTypeMustBeSet
TransformEmpty
Fields
§
location: Location
TransformColumnNameMustBeUnique
TransformMultipleTimestampIndex
TransformTimestampIndexCount
CoerceUnsupportedNullType
Fields
§
location: Location
CoerceUnsupportedNullTypeTo
CoerceUnsupportedEpochType
CoerceStringToType
CoerceJsonTypeTo
CoerceTypeToJson
CoerceIncompatibleTypes
ValueInvalidResolution
ValueParseType
ValueParseInt
ValueParseFloat
ValueParseBoolean
ValueDefaultValueUnsupported
ValueUnsupportedNumberType
ValueUnsupportedYamlType
ValueYamlKeyMustBeString
YamlLoad
PrepareValueMustBeObject
Fields
§
location: Location
ColumnOptions
UnsupportedIndexType
UnsupportedNumberType
IdentifyPipelineColumnTypeMismatch
JsonPathParse
JsonPathParseResultIndex
Fields
§
location: Location
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§impl ErrorCompat for Error
impl ErrorCompat for Error
§fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
Returns an iterator for traversing the chain of errors,
starting with the current error
and continuing with recursive calls to
Error::source
. Read moresource§impl ErrorExt for Error
impl ErrorExt for Error
source§fn status_code(&self) -> StatusCode
fn status_code(&self) -> StatusCode
Map this error to [StatusCode].
source§fn as_any(&self) -> &dyn Any
fn as_any(&self) -> &dyn Any
Returns the error as Any so that it can be
downcast to a specific implementation.
fn output_msg(&self) -> Stringwhere
Self: Sized,
§fn root_cause(&self) -> Option<&dyn Error>where
Self: Sized,
fn root_cause(&self) -> Option<&dyn Error>where
Self: Sized,
Find out root level error for nested error
source§impl<__T0, __T1> IntoError<Error> for CmcdMissingKeySnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for CmcdMissingKeySnafu<__T0, __T1>
source§impl<__T0, __T1> IntoError<Error> for CmcdMissingValueSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for CmcdMissingValueSnafu<__T0, __T1>
source§impl<__T0> IntoError<Error> for CoerceIncompatibleTypesSnafu<__T0>
impl<__T0> IntoError<Error> for CoerceIncompatibleTypesSnafu<__T0>
source§impl<__T0> IntoError<Error> for CoerceJsonTypeToSnafu<__T0>
impl<__T0> IntoError<Error> for CoerceJsonTypeToSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for CoerceStringToTypeSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for CoerceStringToTypeSnafu<__T0, __T1>
source§impl<__T0> IntoError<Error> for CoerceTypeToJsonSnafu<__T0>
impl<__T0> IntoError<Error> for CoerceTypeToJsonSnafu<__T0>
source§impl<__T0> IntoError<Error> for CoerceUnsupportedEpochTypeSnafu<__T0>
impl<__T0> IntoError<Error> for CoerceUnsupportedEpochTypeSnafu<__T0>
source§impl IntoError<Error> for CoerceUnsupportedNullTypeSnafu
impl IntoError<Error> for CoerceUnsupportedNullTypeSnafu
source§impl<__T0> IntoError<Error> for CoerceUnsupportedNullTypeToSnafu<__T0>
impl<__T0> IntoError<Error> for CoerceUnsupportedNullTypeToSnafu<__T0>
source§impl IntoError<Error> for ColumnOptionsSnafu
impl IntoError<Error> for ColumnOptionsSnafu
source§impl IntoError<Error> for CsvNoRecordSnafu
impl IntoError<Error> for CsvNoRecordSnafu
source§impl<__T0, __T1> IntoError<Error> for CsvQuoteNameSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for CsvQuoteNameSnafu<__T0, __T1>
source§impl IntoError<Error> for CsvReadSnafu
impl IntoError<Error> for CsvReadSnafu
source§impl<__T0, __T1> IntoError<Error> for CsvSeparatorNameSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for CsvSeparatorNameSnafu<__T0, __T1>
source§impl IntoError<Error> for DateFailedToGetLocalTimezoneSnafu
impl IntoError<Error> for DateFailedToGetLocalTimezoneSnafu
source§impl IntoError<Error> for DateFailedToGetTimestampSnafu
impl IntoError<Error> for DateFailedToGetTimestampSnafu
source§impl<__T0, __T1> IntoError<Error> for DateInvalidFormatSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for DateInvalidFormatSnafu<__T0, __T1>
source§impl<__T0> IntoError<Error> for DateParseSnafu<__T0>
impl<__T0> IntoError<Error> for DateParseSnafu<__T0>
source§type Source = ParseError
type Source = ParseError
The underlying error
source§fn into_error(self, error: Self::Source) -> Error
fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the error
source§impl<__T0> IntoError<Error> for DateParseTimezoneSnafu<__T0>
impl<__T0> IntoError<Error> for DateParseTimezoneSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for DissectAppendOrderAlreadySetSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for DissectAppendOrderAlreadySetSnafu<__T0, __T1>
source§impl<__T0, __T1> IntoError<Error> for DissectConsecutiveNamesSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for DissectConsecutiveNamesSnafu<__T0, __T1>
source§impl IntoError<Error> for DissectEmptyPatternSnafu
impl IntoError<Error> for DissectEmptyPatternSnafu
source§impl<__T0> IntoError<Error> for DissectEndModifierAlreadySetSnafu<__T0>
impl<__T0> IntoError<Error> for DissectEndModifierAlreadySetSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for DissectInvalidPatternSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for DissectInvalidPatternSnafu<__T0, __T1>
source§impl<__T0, __T1> IntoError<Error> for DissectModifierAlreadySetSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for DissectModifierAlreadySetSnafu<__T0, __T1>
source§impl IntoError<Error> for DissectNoMatchingPatternSnafu
impl IntoError<Error> for DissectNoMatchingPatternSnafu
source§impl IntoError<Error> for DissectOrderOnlyAppendModifierSnafu
impl IntoError<Error> for DissectOrderOnlyAppendModifierSnafu
source§impl<__T0> IntoError<Error> for DissectOrderOnlyAppendSnafu<__T0>
impl<__T0> IntoError<Error> for DissectOrderOnlyAppendSnafu<__T0>
source§impl<__T0> IntoError<Error> for DissectSplitExceedsInputSnafu<__T0>
impl<__T0> IntoError<Error> for DissectSplitExceedsInputSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for DissectSplitNotMatchInputSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for DissectSplitNotMatchInputSnafu<__T0, __T1>
source§impl IntoError<Error> for EmptyInputFieldSnafu
impl IntoError<Error> for EmptyInputFieldSnafu
source§impl<__T0> IntoError<Error> for EpochInvalidResolutionSnafu<__T0>
impl<__T0> IntoError<Error> for EpochInvalidResolutionSnafu<__T0>
source§impl<__T0> IntoError<Error> for FailedParseFieldFromStringSnafu<__T0>
impl<__T0> IntoError<Error> for FailedParseFieldFromStringSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FailedToParseFloatKeySnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for FailedToParseFloatKeySnafu<__T0, __T1>
source§type Source = ParseFloatError
type Source = ParseFloatError
The underlying error
source§fn into_error(self, error: Self::Source) -> Error
fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the error
source§impl<__T0, __T1> IntoError<Error> for FailedToParseIntKeySnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for FailedToParseIntKeySnafu<__T0, __T1>
source§type Source = ParseIntError
type Source = ParseIntError
The underlying error
source§fn into_error(self, error: Self::Source) -> Error
fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the error
source§impl<__T0> IntoError<Error> for FailedToParseIntSnafu<__T0>
impl<__T0> IntoError<Error> for FailedToParseIntSnafu<__T0>
source§type Source = ParseIntError
type Source = ParseIntError
The underlying error
source§fn into_error(self, error: Self::Source) -> Error
fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the error
source§impl<__T0, __T1> IntoError<Error> for FieldMustBeTypeSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for FieldMustBeTypeSnafu<__T0, __T1>
source§impl IntoError<Error> for GsubPatternRequiredSnafu
impl IntoError<Error> for GsubPatternRequiredSnafu
source§impl IntoError<Error> for GsubReplacementRequiredSnafu
impl IntoError<Error> for GsubReplacementRequiredSnafu
source§impl<__T0, __T1, __T2> IntoError<Error> for IdentifyPipelineColumnTypeMismatchSnafu<__T0, __T1, __T2>
impl<__T0, __T1, __T2> IntoError<Error> for IdentifyPipelineColumnTypeMismatchSnafu<__T0, __T1, __T2>
source§impl<__T0, __T1> IntoError<Error> for IntermediateKeyIndexSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for IntermediateKeyIndexSnafu<__T0, __T1>
source§impl IntoError<Error> for JoinSeparatorRequiredSnafu
impl IntoError<Error> for JoinSeparatorRequiredSnafu
source§impl IntoError<Error> for JsonPathParseResultIndexSnafu
impl IntoError<Error> for JsonPathParseResultIndexSnafu
source§impl IntoError<Error> for JsonPathParseSnafu
impl IntoError<Error> for JsonPathParseSnafu
source§impl<__T0> IntoError<Error> for KeyMustBeStringSnafu<__T0>
impl<__T0> IntoError<Error> for KeyMustBeStringSnafu<__T0>
source§impl<__T0> IntoError<Error> for LetterInvalidMethodSnafu<__T0>
impl<__T0> IntoError<Error> for LetterInvalidMethodSnafu<__T0>
source§impl IntoError<Error> for MissingInputFieldSnafu
impl IntoError<Error> for MissingInputFieldSnafu
source§impl IntoError<Error> for PrepareValueMustBeObjectSnafu
impl IntoError<Error> for PrepareValueMustBeObjectSnafu
source§impl<__T0, __T1> IntoError<Error> for ProcessorExpectStringSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for ProcessorExpectStringSnafu<__T0, __T1>
source§impl<__T0, __T1> IntoError<Error> for ProcessorFailedToParseStringSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for ProcessorFailedToParseStringSnafu<__T0, __T1>
source§impl IntoError<Error> for ProcessorKeyMustBeStringSnafu
impl IntoError<Error> for ProcessorKeyMustBeStringSnafu
source§impl<__T0, __T1> IntoError<Error> for ProcessorMissingFieldSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for ProcessorMissingFieldSnafu<__T0, __T1>
source§impl IntoError<Error> for ProcessorMustBeMapSnafu
impl IntoError<Error> for ProcessorMustBeMapSnafu
source§impl IntoError<Error> for ProcessorMustHaveStringKeySnafu
impl IntoError<Error> for ProcessorMustHaveStringKeySnafu
source§impl<__T0, __T1> IntoError<Error> for ProcessorUnsupportedValueSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for ProcessorUnsupportedValueSnafu<__T0, __T1>
source§impl<__T0> IntoError<Error> for RegexNamedGroupNotFoundSnafu<__T0>
impl<__T0> IntoError<Error> for RegexNamedGroupNotFoundSnafu<__T0>
source§impl<__T0> IntoError<Error> for RegexNoValidFieldSnafu<__T0>
impl<__T0> IntoError<Error> for RegexNoValidFieldSnafu<__T0>
source§impl<__T0> IntoError<Error> for RegexNoValidPatternSnafu<__T0>
impl<__T0> IntoError<Error> for RegexNoValidPatternSnafu<__T0>
source§impl<__T0> IntoError<Error> for RegexSnafu<__T0>
impl<__T0> IntoError<Error> for RegexSnafu<__T0>
source§impl<__T0> IntoError<Error> for TransformColumnNameMustBeUniqueSnafu<__T0>
impl<__T0> IntoError<Error> for TransformColumnNameMustBeUniqueSnafu<__T0>
source§impl IntoError<Error> for TransformElementMustBeMapSnafu
impl IntoError<Error> for TransformElementMustBeMapSnafu
source§impl IntoError<Error> for TransformEmptySnafu
impl IntoError<Error> for TransformEmptySnafu
source§impl<__T0> IntoError<Error> for TransformMultipleTimestampIndexSnafu<__T0>
impl<__T0> IntoError<Error> for TransformMultipleTimestampIndexSnafu<__T0>
source§impl<__T0> IntoError<Error> for TransformOnFailureInvalidValueSnafu<__T0>
impl<__T0> IntoError<Error> for TransformOnFailureInvalidValueSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for TransformTimestampIndexCountSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for TransformTimestampIndexCountSnafu<__T0, __T1>
source§impl<__T0, __T1> IntoError<Error> for TransformTypeMustBeSetSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for TransformTypeMustBeSetSnafu<__T0, __T1>
source§impl<__T0> IntoError<Error> for UnsupportedIndexTypeSnafu<__T0>
impl<__T0> IntoError<Error> for UnsupportedIndexTypeSnafu<__T0>
source§impl<__T0> IntoError<Error> for UnsupportedNumberTypeSnafu<__T0>
impl<__T0> IntoError<Error> for UnsupportedNumberTypeSnafu<__T0>
source§impl<__T0> IntoError<Error> for UnsupportedProcessorSnafu<__T0>
impl<__T0> IntoError<Error> for UnsupportedProcessorSnafu<__T0>
source§impl IntoError<Error> for UrlEncodingDecodeSnafu
impl IntoError<Error> for UrlEncodingDecodeSnafu
source§type Source = FromUtf8Error
type Source = FromUtf8Error
The underlying error
source§fn into_error(self, error: Self::Source) -> Error
fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the error
source§impl<__T0> IntoError<Error> for UrlEncodingInvalidMethodSnafu<__T0>
impl<__T0> IntoError<Error> for UrlEncodingInvalidMethodSnafu<__T0>
source§impl<__T0> IntoError<Error> for ValueDefaultValueUnsupportedSnafu<__T0>
impl<__T0> IntoError<Error> for ValueDefaultValueUnsupportedSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for ValueInvalidResolutionSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for ValueInvalidResolutionSnafu<__T0, __T1>
source§impl<__T0, __T1> IntoError<Error> for ValueParseBooleanSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for ValueParseBooleanSnafu<__T0, __T1>
source§type Source = ParseBoolError
type Source = ParseBoolError
The underlying error
source§fn into_error(self, error: Self::Source) -> Error
fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the error
source§impl<__T0, __T1> IntoError<Error> for ValueParseFloatSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for ValueParseFloatSnafu<__T0, __T1>
source§type Source = ParseFloatError
type Source = ParseFloatError
The underlying error
source§fn into_error(self, error: Self::Source) -> Error
fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the error
source§impl<__T0, __T1> IntoError<Error> for ValueParseIntSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for ValueParseIntSnafu<__T0, __T1>
source§type Source = ParseIntError
type Source = ParseIntError
The underlying error
source§fn into_error(self, error: Self::Source) -> Error
fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the error
source§impl<__T0> IntoError<Error> for ValueParseTypeSnafu<__T0>
impl<__T0> IntoError<Error> for ValueParseTypeSnafu<__T0>
source§impl<__T0> IntoError<Error> for ValueUnsupportedNumberTypeSnafu<__T0>
impl<__T0> IntoError<Error> for ValueUnsupportedNumberTypeSnafu<__T0>
source§impl<__T0> IntoError<Error> for ValueUnsupportedYamlTypeSnafu<__T0>
impl<__T0> IntoError<Error> for ValueUnsupportedYamlTypeSnafu<__T0>
source§impl<__T0> IntoError<Error> for ValueYamlKeyMustBeStringSnafu<__T0>
impl<__T0> IntoError<Error> for ValueYamlKeyMustBeStringSnafu<__T0>
source§impl IntoError<Error> for YamlLoadSnafu
impl IntoError<Error> for YamlLoadSnafu
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Conv for T
impl<T> Conv for T
§impl<T, V> Convert<T> for Vwhere
V: Into<T>,
impl<T, V> Convert<T> for Vwhere
V: Into<T>,
fn convert(value: Self) -> T
fn convert_box(value: Box<Self>) -> Box<T>
fn convert_vec(value: Vec<Self>) -> Vec<T>
fn convert_vec_box(value: Vec<Box<Self>>) -> Vec<Box<T>>
fn convert_matrix(value: Vec<Vec<Self>>) -> Vec<Vec<T>>
fn convert_option(value: Option<Self>) -> Option<T>
fn convert_option_box(value: Option<Box<Self>>) -> Option<Box<T>>
fn convert_option_vec(value: Option<Vec<Self>>) -> Option<Vec<T>>
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
Causes
self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
Causes
self
to use its Display
implementation when
Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
Causes
self
to use its LowerExp
implementation when
Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
Causes
self
to use its LowerHex
implementation when
Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
Causes
self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
Causes
self
to use its Pointer
implementation when
Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
Causes
self
to use its UpperExp
implementation when
Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
Causes
self
to use its UpperHex
implementation when
Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows
self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self
, then passes self.as_mut()
into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self
, then passes self.deref()
into the pipe function.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut()
only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow()
only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref()
only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut()
only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref()
only in debug builds, and is erased in release
builds.