pub struct Tlv<'a> { /* private fields */ }
Expand description
A TLV (type, length, value) represented as the tag and bytes content.
Generally used for parsing ASN.1 ANY
values.
Implementations§
Trait Implementations§
source§impl<'a> Asn1Readable<'a> for Tlv<'a>
impl<'a> Asn1Readable<'a> for Tlv<'a>
source§impl<'a> Asn1Writable for Tlv<'a>
impl<'a> Asn1Writable for Tlv<'a>
fn write(&self, w: &mut Writer<'_>) -> WriteResult
source§impl<'a> PartialEq for Tlv<'a>
impl<'a> PartialEq for Tlv<'a>
impl<'a> Copy for Tlv<'a>
impl<'a> Eq for Tlv<'a>
impl<'a> StructuralPartialEq for Tlv<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Tlv<'a>
impl<'a> Send for Tlv<'a>
impl<'a> Sync for Tlv<'a>
impl<'a> Unpin for Tlv<'a>
impl<'a> UnwindSafe for Tlv<'a>
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