pub enum ParseAllowedIpError {
MissingCidrMask(String),
AddrParseError(AddrParseError),
InvalidCidrMask(ParseIntError),
}
Variants§
Trait Implementations§
Source§impl Debug for ParseAllowedIpError
impl Debug for ParseAllowedIpError
Source§impl Display for ParseAllowedIpError
impl Display for ParseAllowedIpError
Source§impl Error for ParseAllowedIpError
impl Error for ParseAllowedIpError
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<AddrParseError> for ParseAllowedIpError
impl From<AddrParseError> for ParseAllowedIpError
Source§fn from(source: AddrParseError) -> Self
fn from(source: AddrParseError) -> Self
Converts to this type from the input type.
Source§impl From<ParseAllowedIpError> for ParseGetResponseError
impl From<ParseAllowedIpError> for ParseGetResponseError
Source§fn from(source: ParseAllowedIpError) -> Self
fn from(source: ParseAllowedIpError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for ParseAllowedIpError
impl From<ParseIntError> for ParseAllowedIpError
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParseAllowedIpError
impl PartialEq for ParseAllowedIpError
impl Eq for ParseAllowedIpError
impl StructuralPartialEq for ParseAllowedIpError
Auto Trait Implementations§
impl Freeze for ParseAllowedIpError
impl RefUnwindSafe for ParseAllowedIpError
impl Send for ParseAllowedIpError
impl Sync for ParseAllowedIpError
impl Unpin for ParseAllowedIpError
impl UnwindSafe for ParseAllowedIpError
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