pub struct SetOfRef<'a, T>where
T: DerOrd,{ /* private fields */ }Expand description
ASN.1 SET OF with a reference to an array.
This type implements a viewer in a SET OF type
and does not depend on alloc support.
Implementations§
Source§impl<'a, T> SetOfRef<'a, T>
impl<'a, T> SetOfRef<'a, T>
Trait Implementations§
Source§impl<'a, T> DecodeValue<'a> for SetOfRef<'a, T>
impl<'a, T> DecodeValue<'a> for SetOfRef<'a, T>
Source§impl<'a, T> EncodeValue for SetOfRef<'a, T>
impl<'a, T> EncodeValue for SetOfRef<'a, T>
impl<'a, T> Eq for SetOfRef<'a, T>
Source§impl<'a, T> PartialEq for SetOfRef<'a, T>
impl<'a, T> PartialEq for SetOfRef<'a, T>
Source§impl<'a, T> RefToOwned<'a> for SetOfRef<'a, T>
impl<'a, T> RefToOwned<'a> for SetOfRef<'a, T>
impl<'a, T> StructuralPartialEq for SetOfRef<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for SetOfRef<'a, T>
impl<'a, T> RefUnwindSafe for SetOfRef<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for SetOfRef<'a, T>where
T: Sync,
impl<'a, T> Sync for SetOfRef<'a, T>where
T: Sync,
impl<'a, T> Unpin for SetOfRef<'a, T>
impl<'a, T> UnsafeUnpin for SetOfRef<'a, T>
impl<'a, T> UnwindSafe for SetOfRef<'a, T>where
T: RefUnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag + 'a,
impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag + 'a,
Source§type Error = <T as DecodeValue<'a>>::Error
type Error = <T as DecodeValue<'a>>::Error
Type returned in the event of a decoding error.
Source§fn decode<R>(reader: &mut R) -> Result<T, <T as DecodeValue<'a>>::Error>where
R: Reader<'a>,
fn decode<R>(reader: &mut R) -> Result<T, <T as DecodeValue<'a>>::Error>where
R: Reader<'a>,
Attempt to decode this TLV message using the provided decoder. Read more
impl<T> DecodeOwned for Twhere
T: for<'a> Decode<'a>,
Source§impl<T> Encode for T
impl<T> Encode for T
Source§fn encoded_len(&self) -> Result<Length, Error>
fn encoded_len(&self) -> Result<Length, Error>
Compute the length of this TLV object in bytes when encoded as ASN.1 DER. Read more
Source§fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8]>
fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8]>
Encode this TLV object to the provided byte slice, returning a sub-slice
containing the encoded message. Read more
Source§impl<T> IsConstructed for T
impl<T> IsConstructed for T
Source§const CONSTRUCTED: bool = const CONSTRUCTED: bool = T::TAG.is_constructed();
const CONSTRUCTED: bool = const CONSTRUCTED: bool = T::TAG.is_constructed();
ASN.1 constructed bit