pub(crate) enum NetstackError {
InterfaceControl(TerminalError<InterfaceRemovedReason>),
EnableInterface(ControlEnableError),
RemoveAddress {
error: ControlRemoveAddressError,
addr: Subnet,
},
SetConfiguration(ControlSetConfigurationError),
WaitForAddressAssignment(AddressStateProviderError),
AddForwardingEntry(Error),
}
Variants§
InterfaceControl(TerminalError<InterfaceRemovedReason>)
EnableInterface(ControlEnableError)
RemoveAddress
SetConfiguration(ControlSetConfigurationError)
WaitForAddressAssignment(AddressStateProviderError)
AddForwardingEntry(Error)
Trait Implementations§
source§impl Debug for NetstackError
impl Debug for NetstackError
source§impl Display for NetstackError
impl Display for NetstackError
source§impl Error for NetstackError
impl Error for NetstackError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<NetstackError> for InterfaceConfigError
impl From<NetstackError> for InterfaceConfigError
source§fn from(source: NetstackError) -> Self
fn from(source: NetstackError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for NetstackError
impl Send for NetstackError
impl Sync for NetstackError
impl Unpin for NetstackError
impl UnwindSafe for NetstackError
Blanket Implementations§
§impl<T> Encode<Ambiguous1> for T
impl<T> Encode<Ambiguous1> for T
§impl<T> Encode<Ambiguous2> for T
impl<T> Encode<Ambiguous2> for T
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>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.