Struct eagre_asn1::types::Null [] [src]

pub struct Null;
[]

Asn1 Null Type

Trait Implementations

impl DER for Null
[src]

fn der_universal_tag() -> UniversalTag[]

Return universal tag of this type

fn der_content() -> ContentType[]

Return content type of this type

fn der_encode_content(&self, _: &mut Write) -> Result<()>[]

Encode the content octets

fn der_decode_content(_: &mut Read, length: usize) -> Result<Self>[]

Decode the content octets

fn der_intermediate(&self) -> Result<Intermediate>[]

Create Intermediate from this object

fn der_encode(&self, w: &mut Write) -> Result<()>[]

Fully encode into stream ( tag bytes + length bytes + content bytes )

fn der_bytes(&self) -> Result<Vec<u8>>[]

Return fully encoded bytes (wrapper for der_encode() for easier use)

fn der_from_intermediate(i: Intermediate) -> Result<Self>[]

Create object from Intermediate

fn der_decode(r: &mut Read) -> Result<Self>[]

Create object from stream

fn der_from_bytes(bytes: Vec<u8>) -> Result<Self>[]

Create object from bytes

Derived Implementations

impl PartialEq for Null
[src]

fn eq(&self, __arg_0: &Null) -> bool[]

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0
[]

This method tests for !=.

impl Debug for Null
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result[]

Formats the value using the given formatter.

impl Clone for Null
[src]

fn clone(&self) -> Null[]

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 Copy for Null
[src]