Struct der_parser::DerObjectHeader
source · Fields
class: u8
structured: u8
tag: u8
len: u64
Implementations
sourceimpl DerObjectHeader
impl DerObjectHeader
sourcepub fn is_universal(&self) -> bool
pub fn is_universal(&self) -> bool
Test if object class is Universal
sourcepub fn is_application(&self) -> bool
pub fn is_application(&self) -> bool
Test if object class is Application
sourcepub fn is_contextspecific(&self) -> bool
pub fn is_contextspecific(&self) -> bool
Test if object class is Context-specific
sourcepub fn is_private(&self) -> bool
pub fn is_private(&self) -> bool
Test if object class is Private
sourcepub fn is_primitive(&self) -> bool
pub fn is_primitive(&self) -> bool
Test if object is primitive
sourcepub fn is_constructed(&self) -> bool
pub fn is_constructed(&self) -> bool
Test if object is constructed
Trait Implementations
sourceimpl Clone for DerObjectHeader
impl Clone for DerObjectHeader
sourcefn clone(&self) -> DerObjectHeader
fn clone(&self) -> DerObjectHeader
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DerObjectHeader
impl Debug for DerObjectHeader
sourceimpl PartialEq<DerObjectHeader> for DerObjectHeader
impl PartialEq<DerObjectHeader> for DerObjectHeader
sourcefn eq(&self, other: &DerObjectHeader) -> bool
fn eq(&self, other: &DerObjectHeader) -> bool
impl Copy for DerObjectHeader
impl StructuralPartialEq for DerObjectHeader
Auto Trait Implementations
impl RefUnwindSafe for DerObjectHeader
impl Send for DerObjectHeader
impl Sync for DerObjectHeader
impl Unpin for DerObjectHeader
impl UnwindSafe for DerObjectHeader
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more