Enum wireguard_uapi::linux::err::GetDeviceError
source · pub enum GetDeviceError {
NlError(NlError),
NlSerError(SerError),
InvalidInterfaceName,
AccessError,
ParseDeviceError(ParseDeviceError),
}
Variants§
NlError(NlError)
NlSerError(SerError)
InvalidInterfaceName
AccessError
ParseDeviceError(ParseDeviceError)
Trait Implementations§
source§impl Debug for GetDeviceError
impl Debug for GetDeviceError
source§impl Display for GetDeviceError
impl Display for GetDeviceError
source§impl Error for GetDeviceError
impl Error for GetDeviceError
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<ParseDeviceError> for GetDeviceError
impl From<ParseDeviceError> for GetDeviceError
source§fn from(error: ParseDeviceError) -> Self
fn from(error: ParseDeviceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for GetDeviceError
impl Send for GetDeviceError
impl Sync for GetDeviceError
impl Unpin for GetDeviceError
impl !UnwindSafe for GetDeviceError
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