pub enum SnmpAccess {
Ro,
Rw,
}Expand description
SNMP community access level.
Variants§
Trait Implementations§
Source§impl Clone for SnmpAccess
impl Clone for SnmpAccess
Source§fn clone(&self) -> SnmpAccess
fn clone(&self) -> SnmpAccess
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SnmpAccess
impl Debug for SnmpAccess
Source§impl<'de> Deserialize<'de> for SnmpAccess
impl<'de> Deserialize<'de> for SnmpAccess
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SnmpAccess, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SnmpAccess, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SnmpAccess
impl PartialEq for SnmpAccess
Source§fn eq(&self, other: &SnmpAccess) -> bool
fn eq(&self, other: &SnmpAccess) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SnmpAccess
impl Serialize for SnmpAccess
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SnmpAccess
Auto Trait Implementations§
impl Freeze for SnmpAccess
impl RefUnwindSafe for SnmpAccess
impl Send for SnmpAccess
impl Sync for SnmpAccess
impl Unpin for SnmpAccess
impl UnsafeUnpin for SnmpAccess
impl UnwindSafe for SnmpAccess
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