pub struct ResolutionCandidate {
pub module: ModuleId,
pub module_name: String,
pub source_label: Option<String>,
pub last_updated: String,
pub kind: ResolutionCandidateKind,
pub symbol: Symbol,
pub oid: Option<Oid>,
pub applicable: bool,
}Expand description
One loaded definition with the traced name.
Fields§
§module: ModuleIdIdentifies the exact loaded module version that defines the symbol.
module_name: StringNames the module that defines the symbol.
source_label: Option<String>Identifies the module source when the loader assigned a label.
last_updated: StringContains the module’s LAST-UPDATED value, or an empty string when absent.
kind: ResolutionCandidateKindClassifies the definition.
symbol: SymbolIdentifies the definition in the resolved MIB arenas.
oid: Option<Oid>Contains the definition’s numeric OID when it has a resolved OID node.
applicable: boolWhether this definition kind can satisfy the selected domain.
Trait Implementations§
Source§impl Clone for ResolutionCandidate
impl Clone for ResolutionCandidate
Source§fn clone(&self) -> ResolutionCandidate
fn clone(&self) -> ResolutionCandidate
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 ResolutionCandidate
impl Debug for ResolutionCandidate
impl Eq for ResolutionCandidate
Source§impl PartialEq for ResolutionCandidate
impl PartialEq for ResolutionCandidate
impl StructuralPartialEq for ResolutionCandidate
Auto Trait Implementations§
impl Freeze for ResolutionCandidate
impl RefUnwindSafe for ResolutionCandidate
impl Send for ResolutionCandidate
impl Sync for ResolutionCandidate
impl Unpin for ResolutionCandidate
impl UnsafeUnpin for ResolutionCandidate
impl UnwindSafe for ResolutionCandidate
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.