pub enum UnknownPortClassError {
NetInterfaces(UnknownNetInterfacesPortClassError),
HardwareNetwork(UnknownHardwareNetworkPortClassError),
}
Expand description
An Error returned when converting from fnet_interfaces::PortClass
to
PortClass
.
Variants§
NetInterfaces(UnknownNetInterfacesPortClassError)
HardwareNetwork(UnknownHardwareNetworkPortClassError)
Trait Implementations§
Source§impl Debug for UnknownPortClassError
impl Debug for UnknownPortClassError
Source§impl Display for UnknownPortClassError
impl Display for UnknownPortClassError
Source§impl Error for UnknownPortClassError
impl Error for UnknownPortClassError
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()
Auto Trait Implementations§
impl Freeze for UnknownPortClassError
impl RefUnwindSafe for UnknownPortClassError
impl Send for UnknownPortClassError
impl Sync for UnknownPortClassError
impl Unpin for UnknownPortClassError
impl UnwindSafe for UnknownPortClassError
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