#[repr(u32)]pub enum RejectType {
IcmpUnreach = 0,
TcpRst = 1,
IcmpxUnreach = 2,
}Expand description
An ICMP reject code.
Variants§
Trait Implementations§
Source§impl Clone for RejectType
impl Clone for RejectType
Source§fn clone(&self) -> RejectType
fn clone(&self) -> RejectType
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 RejectType
impl Debug for RejectType
Source§impl Hash for RejectType
impl Hash for RejectType
Source§impl PartialEq for RejectType
impl PartialEq for RejectType
Source§impl TryFrom<u32> for RejectType
impl TryFrom<u32> for RejectType
impl Copy for RejectType
impl Eq for RejectType
impl StructuralPartialEq for RejectType
Auto Trait Implementations§
impl Freeze for RejectType
impl RefUnwindSafe for RejectType
impl Send for RejectType
impl Sync for RejectType
impl Unpin for RejectType
impl UnwindSafe for RejectType
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