Struct net_types::ip::NotSubnetMaskError
source · pub struct NotSubnetMaskError;
Expand description
An IP address was provided which is not a valid subnet mask (the address has set bits after the first unset bit).
Trait Implementations§
source§impl Clone for NotSubnetMaskError
impl Clone for NotSubnetMaskError
source§fn clone(&self) -> NotSubnetMaskError
fn clone(&self) -> NotSubnetMaskError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NotSubnetMaskError
impl Debug for NotSubnetMaskError
source§impl PartialEq for NotSubnetMaskError
impl PartialEq for NotSubnetMaskError
source§fn eq(&self, other: &NotSubnetMaskError) -> bool
fn eq(&self, other: &NotSubnetMaskError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NotSubnetMaskError
impl Eq for NotSubnetMaskError
impl StructuralEq for NotSubnetMaskError
impl StructuralPartialEq for NotSubnetMaskError
Auto Trait Implementations§
impl RefUnwindSafe for NotSubnetMaskError
impl Send for NotSubnetMaskError
impl Sync for NotSubnetMaskError
impl Unpin for NotSubnetMaskError
impl UnwindSafe for NotSubnetMaskError
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