pub enum IPAddrType {
IPv4 = 0,
IPv6 = 1,
}
Variants§
Trait Implementations§
Source§impl Clone for IPAddrType
impl Clone for IPAddrType
Source§fn clone(&self) -> IPAddrType
fn clone(&self) -> IPAddrType
Returns a duplicate 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 IPAddrType
impl Debug for IPAddrType
Source§impl<Out: Write> Pack<Out> for IPAddrType
impl<Out: Write> Pack<Out> for IPAddrType
Source§impl PartialEq for IPAddrType
impl PartialEq for IPAddrType
Source§impl<In: Read> Unpack<In> for IPAddrType
impl<In: Read> Unpack<In> for IPAddrType
impl Copy for IPAddrType
impl Eq for IPAddrType
impl StructuralPartialEq for IPAddrType
Auto Trait Implementations§
impl Freeze for IPAddrType
impl RefUnwindSafe for IPAddrType
impl Send for IPAddrType
impl Sync for IPAddrType
impl Unpin for IPAddrType
impl UnwindSafe for IPAddrType
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