Struct der_parser::der::DerObject
[−]
[src]
pub struct DerObject<'a> {
pub class: u8,
pub structured: u8,
pub tag: u8,
pub content: DerObjectContent<'a>,
}Fields
class: u8
structured: u8
tag: u8
content: DerObjectContent<'a>
Methods
impl<'a> DerObject<'a>[src]
fn from_header_and_content(hdr: DerElementHeader,
c: DerObjectContent)
-> DerObject
c: DerObjectContent)
-> DerObject
fn from_obj(c: DerObjectContent) -> DerObject
Build a DerObject from its content, using default flags (no class, correct tag, and structured flag set only for Set and Sequence)
fn from_int(i: u64) -> DerObject<'a>
impl<'a> DerObject<'a>[src]
fn ref_iter(&'a self) -> DerObjectRefIterator<'a>
Trait Implementations
impl<'a> Debug for DerObject<'a>[src]
impl<'a> Clone for DerObject<'a>[src]
fn clone(&self) -> DerObject<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<'a> PartialEq for DerObject<'a>[src]
fn eq(&self, __arg_0: &DerObject<'a>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &DerObject<'a>) -> bool
This method tests for !=.
impl<'a> IntoIterator for DerObject<'a>[src]
type Item = DerObject<'a>
The type of the elements being iterated over.
type IntoIter = DerObjectIntoIterator<'a>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
Creates an iterator from a value. Read more