pub enum BerLength {
Definite(usize),
Indefinite,
}Expand description
How a BER element’s contents are delimited (X.690 §8.1.3).
Variants§
Definite(usize)
A stated octet count.
Indefinite
Terminated by an end-of-contents marker, valid only for constructed elements.
Implementations§
Trait Implementations§
impl Copy for BerLength
impl Eq for BerLength
impl StructuralPartialEq for BerLength
Auto Trait Implementations§
impl Forget for BerLength
impl Freeze for BerLength
impl Move for BerLength
impl RefUnwindSafe for BerLength
impl Send for BerLength
impl Sync for BerLength
impl Unpin for BerLength
impl UnsafeUnpin for BerLength
impl UnwindSafe for BerLength
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