pub struct Implicit<T, const TAG: u32> { /* private fields */ }
Expand description
Implicit
is a type which wraps another ASN.1 type, indicating that the tag is an ASN.1
IMPLICIT
. This will generally be used with Option
or Choice
.
Implementations§
Trait Implementations§
source§impl<T: PartialEq, const TAG: u32> PartialEq for Implicit<T, TAG>
impl<T: PartialEq, const TAG: u32> PartialEq for Implicit<T, TAG>
source§impl<'a, T: SimpleAsn1Readable<'a>, const TAG: u32> SimpleAsn1Readable<'a> for Implicit<T, { TAG }>
impl<'a, T: SimpleAsn1Readable<'a>, const TAG: u32> SimpleAsn1Readable<'a> for Implicit<T, { TAG }>
const TAG: Tag = _
fn parse_data(data: &'a [u8]) -> ParseResult<Self>
source§impl<T: SimpleAsn1Writable, const TAG: u32> SimpleAsn1Writable for Implicit<T, { TAG }>
impl<T: SimpleAsn1Writable, const TAG: u32> SimpleAsn1Writable for Implicit<T, { TAG }>
const TAG: Tag = _
fn write_data(&self, dest: &mut WriteBuf) -> WriteResult
impl<T: Eq, const TAG: u32> Eq for Implicit<T, TAG>
impl<T, const TAG: u32> StructuralPartialEq for Implicit<T, TAG>
Auto Trait Implementations§
impl<T, const TAG: u32> RefUnwindSafe for Implicit<T, TAG>where
T: RefUnwindSafe,
impl<T, const TAG: u32> Send for Implicit<T, TAG>where
T: Send,
impl<T, const TAG: u32> Sync for Implicit<T, TAG>where
T: Sync,
impl<T, const TAG: u32> Unpin for Implicit<T, TAG>where
T: Unpin,
impl<T, const TAG: u32> UnwindSafe for Implicit<T, TAG>where
T: UnwindSafe,
Blanket Implementations§
source§impl<'a, T> Asn1Readable<'a> for Twhere
T: SimpleAsn1Readable<'a>,
impl<'a, T> Asn1Readable<'a> for Twhere
T: SimpleAsn1Readable<'a>,
source§impl<T> Asn1Writable for Twhere
T: SimpleAsn1Writable,
impl<T> Asn1Writable for Twhere
T: SimpleAsn1Writable,
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