pub enum LocatorError {
ManufacturerError(ManufacturerError),
PubkeyError(ParsePubkeyError),
UriReferenceError(URIReferenceError),
UnimplementedScheme,
Infallible,
}
Variants§
ManufacturerError(ManufacturerError)
PubkeyError(ParsePubkeyError)
UriReferenceError(URIReferenceError)
UnimplementedScheme
Infallible
Trait Implementations§
Source§impl Clone for LocatorError
impl Clone for LocatorError
Source§fn clone(&self) -> LocatorError
fn clone(&self) -> LocatorError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LocatorError
impl Debug for LocatorError
Source§impl Display for LocatorError
impl Display for LocatorError
Source§impl Error for LocatorError
impl Error for LocatorError
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<Infallible> for LocatorError
impl From<Infallible> for LocatorError
Source§fn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Converts to this type from the input type.
Source§impl From<LocatorError> for RemoteWalletError
impl From<LocatorError> for RemoteWalletError
Source§fn from(source: LocatorError) -> Self
fn from(source: LocatorError) -> Self
Converts to this type from the input type.
Source§impl From<ManufacturerError> for LocatorError
impl From<ManufacturerError> for LocatorError
Source§fn from(source: ManufacturerError) -> Self
fn from(source: ManufacturerError) -> Self
Converts to this type from the input type.
Source§impl From<ParsePubkeyError> for LocatorError
impl From<ParsePubkeyError> for LocatorError
Source§fn from(source: ParsePubkeyError) -> Self
fn from(source: ParsePubkeyError) -> Self
Converts to this type from the input type.
Source§impl From<URIReferenceError> for LocatorError
impl From<URIReferenceError> for LocatorError
Source§fn from(source: URIReferenceError) -> Self
fn from(source: URIReferenceError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LocatorError
impl PartialEq for LocatorError
impl Eq for LocatorError
impl StructuralPartialEq for LocatorError
Auto Trait Implementations§
impl Freeze for LocatorError
impl RefUnwindSafe for LocatorError
impl Send for LocatorError
impl Sync for LocatorError
impl Unpin for LocatorError
impl UnwindSafe for LocatorError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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