pub enum ErrorKind {
Show 32 variants
CsvError(Error),
DateTimeParseError(ParseError),
FromUtf8Error(FromUtf8Error),
InfluxEncoderError(EncoderError),
Io(Error),
JsonAccessError(AccessError),
JsonError(Error),
MsgPackDecoderError(Error),
MsgPackEncoderError(Error),
ReqwestError(Error),
InvalidHeaderName(InvalidHeaderName),
TryFromIntError(TryFromIntError),
ValueError(Error),
Utf8Error(Utf8Error),
YamlError(Error),
Uuid(Error),
Lexical(Error),
SimdUtf8(Utf8Error),
TremorCodec(Error),
AvroError(Error),
UrlParseError(ParseError),
SRCError(SRCError),
Msg(String),
TypeError(ValueType, ValueType),
CodecNotFound(String),
NotCSVSerializableValue(String),
InvalidStatsD,
InvalidGraphitePlaintext,
InvalidDogStatsD,
InvalidInfluxData(String, DecoderError),
InvalidBInfluxData(String),
InvalidSyslogData(&'static str),
// some variants omitted
}Expand description
The kind of an error.
Variants§
CsvError(Error)
DateTimeParseError(ParseError)
FromUtf8Error(FromUtf8Error)
InfluxEncoderError(EncoderError)
Io(Error)
JsonAccessError(AccessError)
JsonError(Error)
MsgPackDecoderError(Error)
MsgPackEncoderError(Error)
ReqwestError(Error)
InvalidHeaderName(InvalidHeaderName)
TryFromIntError(TryFromIntError)
ValueError(Error)
Utf8Error(Utf8Error)
YamlError(Error)
Error during yaml parsing
Uuid(Error)
Lexical(Error)
SimdUtf8(Utf8Error)
TremorCodec(Error)
AvroError(Error)
UrlParseError(ParseError)
SRCError(SRCError)
Msg(String)
A convenient variant for String.
TypeError(ValueType, ValueType)
CodecNotFound(String)
NotCSVSerializableValue(String)
InvalidStatsD
InvalidGraphitePlaintext
InvalidDogStatsD
InvalidInfluxData(String, DecoderError)
InvalidBInfluxData(String)
InvalidSyslogData(&'static str)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErrorKind
impl !RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl !UnwindSafe for ErrorKind
Blanket Implementations§
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.