Enum csnmp::message::BindingValue
source · pub enum BindingValue {
Unspecified,
Value(ObjectValue),
NoSuchObject,
NoSuchInstance,
EndOfMibView,
}
Variants§
Unspecified
A binding without a value. Used (exclusively) in request packets.
Value(ObjectValue)
A concrete value.
NoSuchObject
An error signifying that the given object does not exist.
NoSuchInstance
An error signifying that the given instance (an indexed value below an object) does not exist.
EndOfMibView
An error signifying that no more values remain.
Trait Implementations§
source§impl Clone for BindingValue
impl Clone for BindingValue
source§fn clone(&self) -> BindingValue
fn clone(&self) -> BindingValue
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 BindingValue
impl Debug for BindingValue
source§impl FromASN1 for BindingValue
impl FromASN1 for BindingValue
source§impl Hash for BindingValue
impl Hash for BindingValue
source§impl PartialEq for BindingValue
impl PartialEq for BindingValue
source§fn eq(&self, other: &BindingValue) -> bool
fn eq(&self, other: &BindingValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToASN1 for BindingValue
impl ToASN1 for BindingValue
impl Eq for BindingValue
impl StructuralEq for BindingValue
impl StructuralPartialEq for BindingValue
Auto Trait Implementations§
impl RefUnwindSafe for BindingValue
impl Send for BindingValue
impl Sync for BindingValue
impl Unpin for BindingValue
impl UnwindSafe for BindingValue
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