pub enum BerLength {
Definite(usize),
Indefinite,
}Expand description
BER length, including the indefinite form (0x80).
Variants§
Implementations§
Trait Implementations§
Source§impl ByteLen<BerLength> for BerLengthFmt
impl ByteLen<BerLength> for BerLengthFmt
Source§impl Prepare<BerLength> for BerLengthFmt
impl Prepare<BerLength> for BerLengthFmt
Source§impl<Output: OutputBuf> Serializer<Output, BerLength> for BerLengthFmt
impl<Output: OutputBuf> Serializer<Output, BerLength> for BerLengthFmt
Source§exec fn serialize_into(&self, v: &BerLength, obuf: &mut Output)
exec fn serialize_into(&self, v: &BerLength, obuf: &mut Output)
impl Copy for BerLength
impl Eq for BerLength
impl Structural for BerLength
impl StructuralPartialEq for BerLength
Auto Trait Implementations§
impl Freeze 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