pub enum BERMode {
Ber,
Der,
}
Expand description
Used by BERReader
to determine whether or not to enforce
DER restrictions when parsing.
Variants§
Trait Implementations§
source§impl Ord for BERMode
impl Ord for BERMode
source§impl PartialEq for BERMode
impl PartialEq for BERMode
source§impl PartialOrd for BERMode
impl PartialOrd for BERMode
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for BERMode
impl Eq for BERMode
impl StructuralPartialEq for BERMode
Auto Trait Implementations§
impl Freeze for BERMode
impl RefUnwindSafe for BERMode
impl Send for BERMode
impl Sync for BERMode
impl Unpin for BERMode
impl UnwindSafe for BERMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more