pub enum ModuleIdentityKind {
ModuleIdentity,
ObjectIdentity,
ObjectIdentifier,
}Expand description
The declared kind of a module-scoped OID identity.
Unlike the global OID tree’s winning Kind, this value is
retained independently for every declaration, including aliases and OID
collisions.
Variants§
ModuleIdentity
A MODULE-IDENTITY declaration.
ObjectIdentity
An OBJECT-IDENTITY declaration.
ObjectIdentifier
A plain OBJECT IDENTIFIER value assignment.
Trait Implementations§
Source§impl Clone for ModuleIdentityKind
impl Clone for ModuleIdentityKind
Source§fn clone(&self) -> ModuleIdentityKind
fn clone(&self) -> ModuleIdentityKind
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 moreimpl Copy for ModuleIdentityKind
Source§impl Debug for ModuleIdentityKind
impl Debug for ModuleIdentityKind
impl Eq for ModuleIdentityKind
Source§impl Hash for ModuleIdentityKind
impl Hash for ModuleIdentityKind
Source§impl PartialEq for ModuleIdentityKind
impl PartialEq for ModuleIdentityKind
impl StructuralPartialEq for ModuleIdentityKind
Auto Trait Implementations§
impl Freeze for ModuleIdentityKind
impl RefUnwindSafe for ModuleIdentityKind
impl Send for ModuleIdentityKind
impl Sync for ModuleIdentityKind
impl Unpin for ModuleIdentityKind
impl UnsafeUnpin for ModuleIdentityKind
impl UnwindSafe for ModuleIdentityKind
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.