#[repr(i64)]pub enum SnmpVersion {
V1 = 0,
V2C = 1,
}Expand description
SNMP protocol version.
Variants§
Trait Implementations§
Source§impl Clone for SnmpVersion
impl Clone for SnmpVersion
Source§fn clone(&self) -> SnmpVersion
fn clone(&self) -> SnmpVersion
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 SnmpVersion
impl Debug for SnmpVersion
Source§impl PartialEq for SnmpVersion
impl PartialEq for SnmpVersion
impl Copy for SnmpVersion
impl Eq for SnmpVersion
impl StructuralPartialEq for SnmpVersion
Auto Trait Implementations§
impl Freeze for SnmpVersion
impl RefUnwindSafe for SnmpVersion
impl Send for SnmpVersion
impl Sync for SnmpVersion
impl Unpin for SnmpVersion
impl UnwindSafe for SnmpVersion
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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