pub enum ContiguousIpNetParseError {
NonContiguousNetwork,
IpNetParseError(IpNetParseError),
}Expand description
An error that occurs when parsing a contiguous IP network.
Variants§
NonContiguousNetwork
The network is not contiguous.
IpNetParseError(IpNetParseError)
An error occurred while parsing the IP network.
Trait Implementations§
Source§impl Debug for ContiguousIpNetParseError
impl Debug for ContiguousIpNetParseError
Source§impl Display for ContiguousIpNetParseError
impl Display for ContiguousIpNetParseError
Source§impl Error for ContiguousIpNetParseError
impl Error for ContiguousIpNetParseError
1.30.0 · 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<IpNetParseError> for ContiguousIpNetParseError
impl From<IpNetParseError> for ContiguousIpNetParseError
Source§fn from(err: IpNetParseError) -> Self
fn from(err: IpNetParseError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for ContiguousIpNetParseError
Auto Trait Implementations§
impl Freeze for ContiguousIpNetParseError
impl RefUnwindSafe for ContiguousIpNetParseError
impl Send for ContiguousIpNetParseError
impl Sync for ContiguousIpNetParseError
impl Unpin for ContiguousIpNetParseError
impl UnsafeUnpin for ContiguousIpNetParseError
impl UnwindSafe for ContiguousIpNetParseError
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