Enum wireguard_uapi::linux::err::ParseAttributeError
source · pub enum ParseAttributeError {
StaticLengthError {
expected: usize,
found: usize,
},
ParseSockAddrError(ParseSockAddrError),
ParseIpAddrError(ParseIpAddrError),
FromUtf8Error(FromUtf8Error),
TryFromIntError(TryFromIntError),
InvalidCStringError,
}
Variants§
StaticLengthError
ParseSockAddrError(ParseSockAddrError)
ParseIpAddrError(ParseIpAddrError)
FromUtf8Error(FromUtf8Error)
TryFromIntError(TryFromIntError)
InvalidCStringError
Trait Implementations§
source§impl Debug for ParseAttributeError
impl Debug for ParseAttributeError
source§impl Display for ParseAttributeError
impl Display for ParseAttributeError
source§impl Error for ParseAttributeError
impl Error for ParseAttributeError
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<FromUtf8Error> for ParseAttributeError
impl From<FromUtf8Error> for ParseAttributeError
source§fn from(error: FromUtf8Error) -> Self
fn from(error: FromUtf8Error) -> Self
Converts to this type from the input type.
source§impl From<ParseAttributeError> for ListDevicesError
impl From<ParseAttributeError> for ListDevicesError
source§fn from(error: ParseAttributeError) -> Self
fn from(error: ParseAttributeError) -> Self
Converts to this type from the input type.
source§impl From<ParseAttributeError> for ParseDeviceError
impl From<ParseAttributeError> for ParseDeviceError
source§fn from(error: ParseAttributeError) -> Self
fn from(error: ParseAttributeError) -> Self
Converts to this type from the input type.
source§impl From<ParseIpAddrError> for ParseAttributeError
impl From<ParseIpAddrError> for ParseAttributeError
source§fn from(error: ParseIpAddrError) -> Self
fn from(error: ParseIpAddrError) -> Self
Converts to this type from the input type.
source§impl From<ParseSockAddrError> for ParseAttributeError
impl From<ParseSockAddrError> for ParseAttributeError
source§fn from(error: ParseSockAddrError) -> Self
fn from(error: ParseSockAddrError) -> Self
Converts to this type from the input type.
source§impl From<TryFromIntError> for ParseAttributeError
impl From<TryFromIntError> for ParseAttributeError
source§fn from(error: TryFromIntError) -> Self
fn from(error: TryFromIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ParseAttributeError
impl Send for ParseAttributeError
impl Sync for ParseAttributeError
impl Unpin for ParseAttributeError
impl UnwindSafe for ParseAttributeError
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