pub enum IfOperStatus {
Up = 1,
Down = 2,
Testing = 3,
Unknown = 4,
Dormant = 5,
NotPresent = 6,
LowerLayerDown = 7,
}
Expand description
The current operational state of the interface, as defined in RFC 2863 section 6.
Variants§
Up = 1
The interface is up and running.
Down = 2
The interface is down.
Testing = 3
The interface is testing.
Unknown = 4
The interface is unknown.
Dormant = 5
The interface is in a “pending” state, waiting for some external event.
NotPresent = 6
A refinement on the down state which indicates that the relevant interface is down specifically because some component (typically, a hardware component) is not present in the managed system.
LowerLayerDown = 7
A refinement on the down state. This new state indicates that this interface runs on top of one or more other interfaces and that this interface is down specifically because one or more of these lower-layer interfaces are down.
Trait Implementations§
Source§impl Clone for IfOperStatus
impl Clone for IfOperStatus
Source§fn clone(&self) -> IfOperStatus
fn clone(&self) -> IfOperStatus
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IfOperStatus
impl Debug for IfOperStatus
Source§impl From<i32> for IfOperStatus
impl From<i32> for IfOperStatus
Source§impl Hash for IfOperStatus
impl Hash for IfOperStatus
Source§impl PartialEq for IfOperStatus
impl PartialEq for IfOperStatus
impl Eq for IfOperStatus
impl StructuralPartialEq for IfOperStatus
Auto Trait Implementations§
impl Freeze for IfOperStatus
impl RefUnwindSafe for IfOperStatus
impl Send for IfOperStatus
impl Sync for IfOperStatus
impl Unpin for IfOperStatus
impl UnwindSafe for IfOperStatus
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)