Enum IcmpEndpoint
pub enum IcmpEndpoint {
Unspecified,
Ident(u16),
Tcp(ListenEndpoint),
Udp(ListenEndpoint),
}Expand description
Type of endpoint to bind the ICMP socket to. See IcmpSocket::bind for more details.
Variants§
Implementations§
§impl Endpoint
impl Endpoint
pub fn is_specified(&self) -> bool
Trait Implementations§
§impl Format for Endpointwhere
ListenEndpoint: Format,
impl Format for Endpointwhere
ListenEndpoint: Format,
§impl Ord for Endpoint
impl Ord for Endpoint
§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