Enum record_query::error::Error
source · [−]pub enum Error {
Show 22 variants
Protobuf(Error),
Io(Error),
Utf8(FromUtf8Error),
NativeProtobuf(ProtobufError),
MessagePackEncode(Error),
Avro(Avro),
Cbor(Error),
Hjson(Error),
Json(Error),
Yaml(Error),
YamlScan(ScanError),
TomlDeserialize(Error),
TomlSerialize(Error),
Glob(GlobError),
GlobPattern(PatternError),
Csv(Error),
MessagePackDecode(Error),
Unimplemented {
msg: String,
},
IllegalState {
msg: String,
},
Format {
msg: String,
},
Internal(&'static str),
Message(String),
}Variants
Protobuf(Error)
Io(Error)
Utf8(FromUtf8Error)
NativeProtobuf(ProtobufError)
MessagePackEncode(Error)
Avro(Avro)
Cbor(Error)
Hjson(Error)
Json(Error)
Yaml(Error)
YamlScan(ScanError)
TomlDeserialize(Error)
TomlSerialize(Error)
Glob(GlobError)
GlobPattern(PatternError)
Csv(Error)
MessagePackDecode(Error)
Unimplemented
Fields
msg: StringIllegalState
Fields
msg: StringFormat
Fields
msg: StringInternal(&'static str)
Message(String)
Implementations
sourceimpl Error
impl Error
pub fn unimplemented(msg: String) -> Self
pub fn illegal_state(msg: String) -> Self
Trait Implementations
sourceimpl Fail for Error
impl Fail for Error
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the Backtrace carried by this failure, if it
carries one. Read more
sourceimpl From<FromUtf8Error> for Error
impl From<FromUtf8Error> for Error
sourcefn from(e: FromUtf8Error) -> Self
fn from(e: FromUtf8Error) -> Self
Converts to this type from the input type.
sourceimpl From<PatternError> for Error
impl From<PatternError> for Error
sourcefn from(e: PatternError) -> Self
fn from(e: PatternError) -> Self
Converts to this type from the input type.
sourceimpl From<ProtobufError> for Error
impl From<ProtobufError> for Error
sourcefn from(e: ProtobufError) -> Self
fn from(e: ProtobufError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more