[−]Struct dasn1::identifier::Identifier
An abstract representation of the identifier octets used in BER, CER, and DER to identify .
Fields
class: Class
tag: u32
Methods
impl Identifier
pub const EOC: Identifier
pub const BOOL: Identifier
pub const INTEGER: Identifier
pub const BIT_STRING: Identifier
pub const OCTET_STRING: Identifier
pub const NULL: Identifier
pub const OBJECT_IDENTIFIER: Identifier
pub const OBJECT_DESCRIPTOR: Identifier
pub const EXTERNAL: Identifier
pub const REAL: Identifier
pub const ENUMERATED: Identifier
pub const EMBEDDED_PDV: Identifier
pub const UTF8_STRING: Identifier
pub const RELATIVE_OID: Identifier
pub const SEQUENCE: Identifier
pub const SET: Identifier
pub const NUMERIC_STRING: Identifier
pub const PRINTABLE_STRING: Identifier
pub const TELETEX_STRING: Identifier
pub const VIDEOTEX_STRING: Identifier
pub const IA5_STRING: Identifier
pub const UTC_TIME: Identifier
pub const GENERALIZED_TIME: Identifier
pub const GRAPHIC_STRING: Identifier
pub const VISIBLE_STRING: Identifier
pub const GENERAL_STRING: Identifier
pub const UNIVERSAL_STRING: Identifier
pub const CHARACTER_STRING: Identifier
pub const BMP_STRING: Identifier
pub const fn new(class: Class, tag: u32) -> Identifier
pub fn set_tag(self, tag: u32) -> Identifier
pub fn len(&self) -> usize
Trait Implementations
impl PartialEq<Identifier> for Identifier
fn eq(&self, other: &Identifier) -> bool
fn ne(&self, other: &Identifier) -> bool
impl Debug for Identifier
impl Copy for Identifier
impl Clone for Identifier
fn clone(&self) -> Identifier
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for Identifier
Auto Trait Implementations
impl Sync for Identifier
impl Unpin for Identifier
impl Send for Identifier
impl UnwindSafe for Identifier
impl RefUnwindSafe for Identifier
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self