#[repr(u8)]pub enum Reply {
Succeeded = 0,
GeneralFailure = 1,
ConnectionNotAllowed = 2,
NetworkUnreachable = 3,
HostUnreachable = 4,
ConnectionRefused = 5,
TtlExpired = 6,
CommandNotSupported = 7,
AddressTypeNotSupported = 8,
}
Variants§
Succeeded = 0
GeneralFailure = 1
ConnectionNotAllowed = 2
NetworkUnreachable = 3
HostUnreachable = 4
ConnectionRefused = 5
TtlExpired = 6
CommandNotSupported = 7
AddressTypeNotSupported = 8
Trait Implementations§
Source§impl Ord for Reply
impl Ord for Reply
Source§impl PartialOrd for Reply
impl PartialOrd for Reply
impl Copy for Reply
impl Eq for Reply
impl StructuralPartialEq for Reply
Auto Trait Implementations§
impl Freeze for Reply
impl RefUnwindSafe for Reply
impl Send for Reply
impl Sync for Reply
impl Unpin for Reply
impl UnwindSafe for Reply
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