pub enum TcAttachType {
Ingress,
Egress,
Custom(u32),
}
Expand description
Traffic control attach type.
Variants
Ingress
Attach to ingress.
Egress
Attach to egress.
Custom(u32)
Attach to custom parent.
Trait Implementations
sourceimpl Clone for TcAttachType
impl Clone for TcAttachType
sourcefn clone(&self) -> TcAttachType
fn clone(&self) -> TcAttachType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TcAttachType
impl Debug for TcAttachType
sourceimpl Hash for TcAttachType
impl Hash for TcAttachType
sourceimpl PartialEq<TcAttachType> for TcAttachType
impl PartialEq<TcAttachType> for TcAttachType
sourcefn eq(&self, other: &TcAttachType) -> bool
fn eq(&self, other: &TcAttachType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TcAttachType) -> bool
fn ne(&self, other: &TcAttachType) -> bool
This method tests for !=
.
impl Copy for TcAttachType
impl Eq for TcAttachType
impl StructuralEq for TcAttachType
impl StructuralPartialEq for TcAttachType
Auto Trait Implementations
impl RefUnwindSafe for TcAttachType
impl Send for TcAttachType
impl Sync for TcAttachType
impl Unpin for TcAttachType
impl UnwindSafe for TcAttachType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more