Struct der_parser::DerObjectHeader
[−]
[src]
pub struct DerObjectHeader {
pub class: u8,
pub structured: u8,
pub tag: u8,
pub len: u64,
}Fields
class: u8
structured: u8
tag: u8
len: u64
Methods
impl DerObjectHeader[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 Clone for DerObjectHeader[src]
fn clone(&self) -> DerObjectHeader[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for DerObjectHeader[src]
impl Debug for DerObjectHeader[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for DerObjectHeader[src]
fn eq(&self, __arg_0: &DerObjectHeader) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &DerObjectHeader) -> bool[src]
This method tests for !=.