pub enum IpForwarding {
Forwarding = 1,
NotForwarding = 2,
}
Expand description
The indication of whether this entity is acting as an IP gateway in respect to the forwarding of datagrams received by, but not addressed to, this entity. IP gateways forward datagrams. IP hosts do not (except those source-routed via the host).
Note that for some managed nodes, this object may take on only a subset of
the values possible. Accordingly, it is appropriate for an agent to return a
badValue
response if a management station attempts to change this object
to an inappropriate value.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for IpForwarding
impl Clone for IpForwarding
source§fn clone(&self) -> IpForwarding
fn clone(&self) -> IpForwarding
Returns a copy 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 IpForwarding
impl Debug for IpForwarding
source§impl<'de> Deserialize<'de> for IpForwarding
impl<'de> Deserialize<'de> for IpForwarding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for IpForwarding
impl PartialEq for IpForwarding
source§impl Serialize for IpForwarding
impl Serialize for IpForwarding
impl Eq for IpForwarding
impl StructuralPartialEq for IpForwarding
Auto Trait Implementations§
impl Freeze for IpForwarding
impl RefUnwindSafe for IpForwarding
impl Send for IpForwarding
impl Sync for IpForwarding
impl Unpin for IpForwarding
impl UnwindSafe for IpForwarding
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
)