pub enum RejectType {
TcpReset,
NetUnreachable,
HostUnreachable,
ProtoUnreachable,
PortUnreachable,
RoutePolicyFail,
RejectRoute,
AdminProhibited,
}Variants§
TcpReset
NetUnreachable
HostUnreachable
ProtoUnreachable
PortUnreachable
RoutePolicyFail
RejectRoute
AdminProhibited
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 From<RejectType> for RejectType
impl From<RejectType> for RejectType
Source§fn from(value: RejectType) -> Self
fn from(value: RejectType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RejectType
impl PartialEq for RejectType
Source§impl TryFrom<RejectType> for RejectType
impl TryFrom<RejectType> for RejectType
impl Copy 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 UnsafeUnpin 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