#[non_exhaustive]pub enum AddressLookupBuilderError {
User {
provenance: &'static str,
source: AnyError,
meta: Meta,
},
EndpointClosed {
source: EndpointError,
meta: Meta,
},
}Expand description
AddressLookupBuilder errors
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Debug for AddressLookupBuilderError
impl Debug for AddressLookupBuilderError
Source§impl Display for AddressLookupBuilderError
impl Display for AddressLookupBuilderError
Source§impl Error for AddressLookupBuilderError
impl Error for AddressLookupBuilderError
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<AddressLookupBuilderError> for AnyError
impl From<AddressLookupBuilderError> for AnyError
Source§fn from(value: AddressLookupBuilderError) -> AnyError
fn from(value: AddressLookupBuilderError) -> AnyError
Converts to this type from the input type.
Source§impl From<AddressLookupBuilderError> for BindError
impl From<AddressLookupBuilderError> for BindError
Source§fn from(source: AddressLookupBuilderError) -> Self
fn from(source: AddressLookupBuilderError) -> Self
Converts to this type from the input type.
Source§impl From<AnyError> for AddressLookupBuilderError
impl From<AnyError> for AddressLookupBuilderError
Source§impl From<EndpointError> for AddressLookupBuilderError
impl From<EndpointError> for AddressLookupBuilderError
Source§fn from(source: EndpointError) -> Self
fn from(source: EndpointError) -> Self
Converts to this type from the input type.
Source§impl StackError for AddressLookupBuilderError
impl StackError for AddressLookupBuilderError
Source§fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)
fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)
Returns this error as a std error reference.
Source§fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>
fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>
Returns this error as a std error.
Source§fn fmt_message(&self, f: &mut Formatter<'_>) -> Result
fn fmt_message(&self, f: &mut Formatter<'_>) -> Result
Returns the next source in the chain, if any.
Source§fn is_transparent(&self) -> bool
fn is_transparent(&self) -> bool
Returns whether this error is transparent and should be skipped in reports.
Auto Trait Implementations§
impl Freeze for AddressLookupBuilderError
impl !RefUnwindSafe for AddressLookupBuilderError
impl Send for AddressLookupBuilderError
impl Sync for AddressLookupBuilderError
impl Unpin for AddressLookupBuilderError
impl !UnwindSafe for AddressLookupBuilderError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> 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 more