[][src]Struct der_parser::ber::BerObjectHeader

pub struct BerObjectHeader {
    pub class: u8,
    pub structured: u8,
    pub tag: BerTag,
    pub len: u64,
}

Fields

class: u8structured: u8tag: BerTaglen: u64

Methods

impl BerObjectHeader[src]

pub fn is_universal(&self) -> bool[src]

Test if object class is Universal

pub fn is_application(&self) -> bool[src]

Test if object class is Application

pub fn is_contextspecific(&self) -> bool[src]

Test if object class is Context-specific

pub fn is_private(&self) -> bool[src]

Test if object class is Private

pub fn is_primitive(&self) -> bool[src]

Test if object is primitive

pub fn is_constructed(&self) -> bool[src]

Test if object is constructed

Trait Implementations

impl PartialEq<BerObjectHeader> for BerObjectHeader[src]

impl Copy for BerObjectHeader[src]

impl Clone for BerObjectHeader[src]

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

Performs copy-assignment from source. Read more

impl Debug for BerObjectHeader[src]

Auto Trait Implementations

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> 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]