Struct bcder::oid::Component [−][src]
pub struct Component<'a> { /* fields omitted */ }
Expand description
A component of an object identifier.
Although these components are integers, they are encoded in a slightly inconvenient way. Because of this we don’t convert them to native integers but rather keep them as references to the underlying octets.
This type allows comparison and formatting, which hopefully is all you’ll
need. If you insist, the method to_u32
allows you to try to convert a
component to a native integer.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Component<'a>
impl<'a> UnwindSafe for Component<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more