Struct asn1::SequenceOfWriter
source · pub struct SequenceOfWriter<'a, T: Asn1Writable, V: Borrow<[T]> = &'a [T]> { /* private fields */ }
Expand description
Writes a SEQUENCE OF
ASN.1 structure from a slice of T
.
Implementations§
source§impl<'a, T: Asn1Writable, V: Borrow<[T]>> SequenceOfWriter<'a, T, V>
impl<'a, T: Asn1Writable, V: Borrow<[T]>> SequenceOfWriter<'a, T, V>
Trait Implementations§
source§impl<'a, T: Clone + Asn1Writable, V: Clone + Borrow<[T]>> Clone for SequenceOfWriter<'a, T, V>
impl<'a, T: Clone + Asn1Writable, V: Clone + Borrow<[T]>> Clone for SequenceOfWriter<'a, T, V>
source§fn clone(&self) -> SequenceOfWriter<'a, T, V>
fn clone(&self) -> SequenceOfWriter<'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 SequenceOfWriter<'a, T, V>
impl<'a, T: Hash + Asn1Writable, V: Hash + Borrow<[T]>> Hash for SequenceOfWriter<'a, T, V>
source§impl<'a, T: PartialEq + Asn1Writable, V: PartialEq + Borrow<[T]>> PartialEq for SequenceOfWriter<'a, T, V>
impl<'a, T: PartialEq + Asn1Writable, V: PartialEq + Borrow<[T]>> PartialEq for SequenceOfWriter<'a, T, V>
source§fn eq(&self, other: &SequenceOfWriter<'a, T, V>) -> bool
fn eq(&self, other: &SequenceOfWriter<'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 SequenceOfWriter<'a, T, V>
impl<'a, T: Asn1Writable, V: Borrow<[T]>> SimpleAsn1Writable for SequenceOfWriter<'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 SequenceOfWriter<'a, T, V>
impl<'a, T: Asn1Writable, V: Borrow<[T]>> StructuralPartialEq for SequenceOfWriter<'a, T, V>
Auto Trait Implementations§
impl<'a, T, V> RefUnwindSafe for SequenceOfWriter<'a, T, V>where
T: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, T, V> Send for SequenceOfWriter<'a, T, V>
impl<'a, T, V> Sync for SequenceOfWriter<'a, T, V>
impl<'a, T, V> Unpin for SequenceOfWriter<'a, T, V>where
V: Unpin,
impl<'a, T, V> UnwindSafe for SequenceOfWriter<'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