#[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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)