Struct asn1::SetOfWriter
source · pub struct SetOfWriter<'a, T: Asn1Writable, V: Borrow<[T]> = &'a [T]> { /* private fields */ }
Expand description
Writes an ASN.1 SET OF
whose contents is a slice of T
. This type handles
ensuring that the values are properly ordered when written as DER.
Implementations§
source§impl<'a, T: Asn1Writable, V: Borrow<[T]>> SetOfWriter<'a, T, V>
impl<'a, T: Asn1Writable, V: Borrow<[T]>> SetOfWriter<'a, T, V>
Trait Implementations§
source§impl<'a, T: Clone + Asn1Writable, V: Clone + Borrow<[T]>> Clone for SetOfWriter<'a, T, V>
impl<'a, T: Clone + Asn1Writable, V: Clone + Borrow<[T]>> Clone for SetOfWriter<'a, T, V>
source§fn clone(&self) -> SetOfWriter<'a, T, V>
fn clone(&self) -> SetOfWriter<'a, T, V>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a, T: Hash + Asn1Writable, V: Hash + Borrow<[T]>> Hash for SetOfWriter<'a, T, V>
impl<'a, T: Hash + Asn1Writable, V: Hash + Borrow<[T]>> Hash for SetOfWriter<'a, T, V>
source§impl<'a, T: PartialEq + Asn1Writable, V: PartialEq + Borrow<[T]>> PartialEq for SetOfWriter<'a, T, V>
impl<'a, T: PartialEq + Asn1Writable, V: PartialEq + Borrow<[T]>> PartialEq for SetOfWriter<'a, T, V>
source§fn eq(&self, other: &SetOfWriter<'a, T, V>) -> bool
fn eq(&self, other: &SetOfWriter<'a, T, V>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a, T: Asn1Writable, V: Borrow<[T]>> SimpleAsn1Writable for SetOfWriter<'a, T, V>
impl<'a, T: Asn1Writable, V: Borrow<[T]>> SimpleAsn1Writable for SetOfWriter<'a, T, V>
const TAG: Tag = _
fn write_data(&self, dest: &mut WriteBuf) -> WriteResult
impl<'a, T: Eq + Asn1Writable, V: Eq + Borrow<[T]>> Eq for SetOfWriter<'a, T, V>
impl<'a, T: Asn1Writable, V: Borrow<[T]>> StructuralPartialEq for SetOfWriter<'a, T, V>
Auto Trait Implementations§
impl<'a, T, V> RefUnwindSafe for SetOfWriter<'a, T, V>where
T: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, T, V> Send for SetOfWriter<'a, T, V>
impl<'a, T, V> Sync for SetOfWriter<'a, T, V>
impl<'a, T, V> Unpin for SetOfWriter<'a, T, V>where
V: Unpin,
impl<'a, T, V> UnwindSafe for SetOfWriter<'a, T, V>where
T: RefUnwindSafe,
V: UnwindSafe,
Blanket Implementations§
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