[][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 to_string(&self) -> String[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"

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

Return an iterator on every ID

Trait Implementations

impl PartialEq<Oid> for Oid[src]

impl Clone for Oid[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

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

Build a DER object from an OID.

impl Eq for Oid[src]

impl Display for Oid[src]

impl Debug for Oid[src]

impl FromStr for Oid[src]

type Err = ParseIntError

The associated error which can be returned from parsing.

Auto Trait Implementations

impl Sync for Oid

impl Send for Oid

impl Unpin for Oid

impl RefUnwindSafe for Oid

impl UnwindSafe for Oid

Blanket Implementations

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> From<T> for T[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.

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

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

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