[][src]Struct red_asn1::SeqField

pub struct SeqField<T: Asn1Object + Default> { /* fields omitted */ }

Class to represent a field of a Sequence

Methods

impl<T: Asn1Object + Default> SeqField<T>[src]

pub fn get_value(&self) -> Option<&T>[src]

pub fn set_value(&mut self, value: T)[src]

pub fn unset_inner_value(&mut self)[src]

pub fn encode(&self) -> Result<Vec<u8>>[src]

pub fn decode(&mut self, raw: &[u8]) -> Result<usize>[src]

Trait Implementations

impl<T: Default + Asn1Object> Default for SeqField<T>[src]

impl<T: Asn1Object + Default> From<T> for SeqField<T>[src]

impl<T: PartialEq + Asn1Object + Default> PartialEq<SeqField<T>> for SeqField<T>[src]

impl<T: Debug + Asn1Object + Default> Debug for SeqField<T>[src]

Auto Trait Implementations

impl<T> Sync for SeqField<T> where
    T: Sync

impl<T> Send for SeqField<T> where
    T: Send

impl<T> Unpin for SeqField<T> where
    T: Unpin

impl<T> RefUnwindSafe for SeqField<T> where
    T: RefUnwindSafe

impl<T> UnwindSafe for SeqField<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]