pub enum InvalidInterfaceName {
TooLong,
Empty,
InvalidChars,
}
Expand description
An interface name was bad.
Variants§
TooLong
Provided name was longer then the interface name length limit of the system.
Empty
Interface name was an empty string.
InvalidChars
Interface name contained a nul, /
or whitespace character.
Trait Implementations§
Source§impl Debug for InvalidInterfaceName
impl Debug for InvalidInterfaceName
Source§impl Display for InvalidInterfaceName
impl Display for InvalidInterfaceName
Source§impl Error for InvalidInterfaceName
impl Error for InvalidInterfaceName
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<InvalidInterfaceName> for Error
impl From<InvalidInterfaceName> for Error
Source§fn from(e: InvalidInterfaceName) -> Self
fn from(e: InvalidInterfaceName) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InvalidInterfaceName
impl PartialEq for InvalidInterfaceName
impl Eq for InvalidInterfaceName
impl StructuralPartialEq for InvalidInterfaceName
Auto Trait Implementations§
impl Freeze for InvalidInterfaceName
impl RefUnwindSafe for InvalidInterfaceName
impl Send for InvalidInterfaceName
impl Sync for InvalidInterfaceName
impl Unpin for InvalidInterfaceName
impl UnwindSafe for InvalidInterfaceName
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