pub enum AddressErrorKind {
Bincode(Bincode),
Builder,
Csv(Csv),
Io(Io),
Nom(Nom),
}Expand description
The AddressErrorKind enum contains the individual error type associated with the library operation.
Variants§
Bincode(Bincode)
The Bincode variant contains a Bincode error.
Builder
The Builder variant contains a Builder error.
Csv(Csv)
The Csv variant contains a Csv error.
Io(Io)
The Io variant contains an Io error.
Nom(Nom)
The Nom variant contains an Nom error.
Trait Implementations§
Source§impl Debug for AddressErrorKind
impl Debug for AddressErrorKind
Source§impl Display for AddressErrorKind
impl Display for AddressErrorKind
Source§impl Error for AddressErrorKind
impl Error for AddressErrorKind
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<AddressErrorKind> for AddressError
impl From<AddressErrorKind> for AddressError
Source§fn from(value: AddressErrorKind) -> Self
fn from(value: AddressErrorKind) -> Self
Converts to this type from the input type.
Source§impl From<Bincode> for AddressErrorKind
impl From<Bincode> for AddressErrorKind
Source§impl From<Builder> for AddressErrorKind
impl From<Builder> for AddressErrorKind
Source§impl From<Csv> for AddressErrorKind
impl From<Csv> for AddressErrorKind
Source§impl From<Io> for AddressErrorKind
impl From<Io> for AddressErrorKind
Auto Trait Implementations§
impl Freeze for AddressErrorKind
impl !RefUnwindSafe for AddressErrorKind
impl Send for AddressErrorKind
impl Sync for AddressErrorKind
impl Unpin for AddressErrorKind
impl !UnwindSafe for AddressErrorKind
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> 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 more