Enum wireguard_uapi::get::ParseAllowedIpError
source · [−]pub enum ParseAllowedIpError {
MissingCidrMask(String),
AddrParseError(AddrParseError),
InvalidCidrMask(ParseIntError),
}Variants
MissingCidrMask(String)
AddrParseError(AddrParseError)
InvalidCidrMask(ParseIntError)
Trait Implementations
sourceimpl Debug for ParseAllowedIpError
impl Debug for ParseAllowedIpError
sourceimpl Display for ParseAllowedIpError
impl Display for ParseAllowedIpError
sourceimpl Error for ParseAllowedIpError
impl Error for ParseAllowedIpError
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<AddrParseError> for ParseAllowedIpError
impl From<AddrParseError> for ParseAllowedIpError
sourcefn from(source: AddrParseError) -> Self
fn from(source: AddrParseError) -> Self
Converts to this type from the input type.
sourceimpl From<ParseAllowedIpError> for ParseGetResponseError
impl From<ParseAllowedIpError> for ParseGetResponseError
sourcefn from(source: ParseAllowedIpError) -> Self
fn from(source: ParseAllowedIpError) -> Self
Converts to this type from the input type.
sourceimpl From<ParseIntError> for ParseAllowedIpError
impl From<ParseIntError> for ParseAllowedIpError
sourcefn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ParseAllowedIpError> for ParseAllowedIpError
impl PartialEq<ParseAllowedIpError> for ParseAllowedIpError
sourcefn eq(&self, other: &ParseAllowedIpError) -> bool
fn eq(&self, other: &ParseAllowedIpError) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ParseAllowedIpError) -> bool
fn ne(&self, other: &ParseAllowedIpError) -> bool
This method tests for !=.
impl StructuralPartialEq for ParseAllowedIpError
Auto Trait Implementations
impl RefUnwindSafe for ParseAllowedIpError
impl Send for ParseAllowedIpError
impl Sync for ParseAllowedIpError
impl Unpin for ParseAllowedIpError
impl UnwindSafe for ParseAllowedIpError
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