pub(crate) enum InterfaceConfigError {
NameNotProvided,
DeviceConnectionNotProvided,
Fidl(Error),
Netstack(NetstackError),
Internal(Error),
}
Variants§
Trait Implementations§
source§impl Debug for InterfaceConfigError
impl Debug for InterfaceConfigError
source§impl Display for InterfaceConfigError
impl Display for InterfaceConfigError
source§impl Error for InterfaceConfigError
impl Error for InterfaceConfigError
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<Error> for InterfaceConfigError
impl From<Error> for InterfaceConfigError
source§impl From<Error> for InterfaceConfigError
impl From<Error> for InterfaceConfigError
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 InterfaceConfigError
impl Send for InterfaceConfigError
impl Sync for InterfaceConfigError
impl Unpin for InterfaceConfigError
impl UnwindSafe for InterfaceConfigError
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.