pub enum IcmpSocketType {
Dgram,
Raw,
}Expand description
ICMP socket type, either DGRAM or RAW.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for IcmpSocketType
impl Clone for IcmpSocketType
Source§fn clone(&self) -> IcmpSocketType
fn clone(&self) -> IcmpSocketType
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 IcmpSocketType
impl Debug for IcmpSocketType
Source§impl PartialEq for IcmpSocketType
impl PartialEq for IcmpSocketType
impl Copy for IcmpSocketType
impl Eq for IcmpSocketType
impl StructuralPartialEq for IcmpSocketType
Auto Trait Implementations§
impl Freeze for IcmpSocketType
impl RefUnwindSafe for IcmpSocketType
impl Send for IcmpSocketType
impl Sync for IcmpSocketType
impl Unpin for IcmpSocketType
impl UnwindSafe for IcmpSocketType
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