pub struct Tl {
pub kind: Kind,
pub len: usize,
}Expand description
A decoded type-length field.
Fields§
§kind: KindThe value’s type.
len: usizeFor a list, the number of elements; otherwise the number of data bytes that follow the TL bytes.
Trait Implementations§
impl Copy for Tl
impl Eq for Tl
impl StructuralPartialEq for Tl
Auto Trait Implementations§
impl Forget for Tl
impl Freeze for Tl
impl Move for Tl
impl RefUnwindSafe for Tl
impl Send for Tl
impl Sync for Tl
impl Unpin for Tl
impl UnsafeUnpin for Tl
impl UnwindSafe for Tl
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