pub enum NetworkRegistryError {
Add(NetworkRegistryAddError),
Remove(NetworkRegistryRemoveError),
SetDefault(NetworkRegistrySetDefaultError),
}
Variants§
Add(NetworkRegistryAddError)
Remove(NetworkRegistryRemoveError)
SetDefault(NetworkRegistrySetDefaultError)
Trait Implementations§
Source§impl Clone for NetworkRegistryError
impl Clone for NetworkRegistryError
Source§fn clone(&self) -> NetworkRegistryError
fn clone(&self) -> NetworkRegistryError
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 NetworkRegistryError
impl Debug for NetworkRegistryError
Source§impl Display for NetworkRegistryError
impl Display for NetworkRegistryError
Source§impl Error for NetworkRegistryError
impl Error for NetworkRegistryError
1.30.0 · 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<NetworkRegistryAddError> for NetworkRegistryError
impl From<NetworkRegistryAddError> for NetworkRegistryError
Source§fn from(error: NetworkRegistryAddError) -> Self
fn from(error: NetworkRegistryAddError) -> Self
Converts to this type from the input type.
Source§impl From<NetworkRegistryRemoveError> for NetworkRegistryError
impl From<NetworkRegistryRemoveError> for NetworkRegistryError
Source§fn from(error: NetworkRegistryRemoveError) -> Self
fn from(error: NetworkRegistryRemoveError) -> Self
Converts to this type from the input type.
Source§impl From<NetworkRegistrySetDefaultError> for NetworkRegistryError
impl From<NetworkRegistrySetDefaultError> for NetworkRegistryError
Source§fn from(error: NetworkRegistrySetDefaultError) -> Self
fn from(error: NetworkRegistrySetDefaultError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NetworkRegistryError
impl RefUnwindSafe for NetworkRegistryError
impl Send for NetworkRegistryError
impl Sync for NetworkRegistryError
impl Unpin for NetworkRegistryError
impl UnwindSafe for NetworkRegistryError
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,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> IntoAny for T
impl<T> IntoAny for T
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