pub struct ParseIpNetError(pub String);Expand description
IpNet text or prefix length was invalid.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for ParseIpNetError
impl Clone for ParseIpNetError
Source§impl Debug for ParseIpNetError
impl Debug for ParseIpNetError
Source§impl Display for ParseIpNetError
impl Display for ParseIpNetError
impl Eq for ParseIpNetError
Source§impl Error for ParseIpNetError
impl Error for ParseIpNetError
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 PartialEq for ParseIpNetError
impl PartialEq for ParseIpNetError
impl StructuralPartialEq for ParseIpNetError
Auto Trait Implementations§
impl Freeze for ParseIpNetError
impl RefUnwindSafe for ParseIpNetError
impl Send for ParseIpNetError
impl Sync for ParseIpNetError
impl Unpin for ParseIpNetError
impl UnsafeUnpin for ParseIpNetError
impl UnwindSafe for ParseIpNetError
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