[][src]Struct der_parser::oid::Oid

pub struct Oid(_);

Object ID (OID) representation

Methods

impl Oid[src]

pub fn from(s: &[u64]) -> Oid[src]

Build an OID from an array of u64 integers

pub fn iter(&self) -> Iter<u64>[src]

Return an iterator on every ID

Trait Implementations

impl Clone for Oid[src]

impl Debug for Oid[src]

impl Display for Oid[src]

fn fmt(&self, f: &mut Formatter) -> Result[src]

Convert the OID to a string representation. The string contains the IDs separated by dots, for ex: "1.2.840.113549.1.1.5"

impl Eq for Oid[src]

impl<'a> From<Oid> for BerObject<'a>[src]

Build a DER object from an OID.

impl FromStr for Oid[src]

type Err = ParseIntError

The associated error which can be returned from parsing.

impl PartialEq<Oid> for Oid[src]

impl StructuralEq for Oid[src]

impl StructuralPartialEq for Oid[src]

Auto Trait Implementations

impl RefUnwindSafe for Oid

impl Send for Oid

impl Sync for Oid

impl Unpin for Oid

impl UnwindSafe for Oid

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.