[][src]Enum yasna::BERMode

pub enum BERMode {
    Ber,
    Der,
}

Used by BERReader to determine whether or not to enforce DER restrictions when parsing.

Variants

Ber

Use BER (Basic Encoding Rules).

Der

Use DER (Distinguished Encoding Rules).

Trait Implementations

impl Clone for BERMode[src]

impl Copy for BERMode[src]

impl Eq for BERMode[src]

impl Ord for BERMode[src]

impl PartialEq<BERMode> for BERMode[src]

impl PartialOrd<BERMode> for BERMode[src]

impl Debug for BERMode[src]

impl Hash for BERMode[src]

Auto Trait Implementations

impl Send for BERMode

impl Sync for BERMode

impl Unpin for BERMode

impl UnwindSafe for BERMode

impl RefUnwindSafe for BERMode

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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