pub struct TaggedValue<V, T = Tag> { /* private fields */ }Expand description
BER-TLV data object.
Implementations§
Source§impl<V, T> TaggedValue<V, T>where
T: Copy,
impl<V, T> TaggedValue<V, T>where
T: Copy,
Trait Implementations§
Source§impl<V: Clone, T: Clone> Clone for TaggedValue<V, T>
impl<V: Clone, T: Clone> Clone for TaggedValue<V, T>
Source§fn clone(&self) -> TaggedValue<V, T>
fn clone(&self) -> TaggedValue<V, T>
Returns a duplicate 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<E, T> Encodable for TaggedValue<&E, T>
impl<E, T> Encodable for TaggedValue<&E, T>
impl<V: Copy, T: Copy> Copy for TaggedValue<V, T>
impl<V: Eq, T: Eq> Eq for TaggedValue<V, T>
impl<V, T> StructuralPartialEq for TaggedValue<V, T>
Auto Trait Implementations§
impl<V, T> Freeze for TaggedValue<V, T>
impl<V, T> RefUnwindSafe for TaggedValue<V, T>where
T: RefUnwindSafe,
V: RefUnwindSafe,
impl<V, T> Send for TaggedValue<V, T>
impl<V, T> Sync for TaggedValue<V, T>
impl<V, T> Unpin for TaggedValue<V, T>
impl<V, T> UnwindSafe for TaggedValue<V, T>where
T: UnwindSafe,
V: UnwindSafe,
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