pub enum IcmpEndpoint {
Unspecified,
Ident(u16),
Udp(ListenEndpoint),
}
Expand description
Type of endpoint to bind the ICMP socket to. See IcmpSocket::bind for more details.
Variants§
Implementations§
Trait Implementations§
Source§impl Ord for Endpoint
impl Ord for Endpoint
Source§impl PartialOrd for Endpoint
impl PartialOrd for Endpoint
impl Copy for Endpoint
impl Eq for Endpoint
impl StructuralPartialEq for Endpoint
Auto Trait Implementations§
impl Freeze for Endpoint
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnwindSafe for Endpoint
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