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
sourceimpl Debug for ParseAttributeError
impl Debug for ParseAttributeError
sourceimpl Display for ParseAttributeError
impl Display for ParseAttributeError
sourceimpl Error for ParseAttributeError
impl Error for ParseAttributeError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<FromUtf8Error> for ParseAttributeError
impl From<FromUtf8Error> for ParseAttributeError
sourcefn from(error: FromUtf8Error) -> Self
fn from(error: FromUtf8Error) -> Self
Converts to this type from the input type.
sourceimpl From<ParseAttributeError> for ListDevicesError
impl From<ParseAttributeError> for ListDevicesError
sourcefn from(error: ParseAttributeError) -> Self
fn from(error: ParseAttributeError) -> Self
Converts to this type from the input type.
sourceimpl From<ParseAttributeError> for ParseDeviceError
impl From<ParseAttributeError> for ParseDeviceError
sourcefn from(error: ParseAttributeError) -> Self
fn from(error: ParseAttributeError) -> Self
Converts to this type from the input type.
sourceimpl From<ParseIpAddrError> for ParseAttributeError
impl From<ParseIpAddrError> for ParseAttributeError
sourcefn from(error: ParseIpAddrError) -> Self
fn from(error: ParseIpAddrError) -> Self
Converts to this type from the input type.
sourceimpl From<ParseSockAddrError> for ParseAttributeError
impl From<ParseSockAddrError> for ParseAttributeError
sourcefn from(error: ParseSockAddrError) -> Self
fn from(error: ParseSockAddrError) -> Self
Converts to this type from the input type.
sourceimpl From<TryFromIntError> for ParseAttributeError
impl From<TryFromIntError> for ParseAttributeError
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more