Struct flexiber::TaggedValue
source · 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 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, E, T> Encodable for TaggedValue<&'a E, T>
impl<'a, E, T> Encodable for TaggedValue<&'a E, T>
source§impl<V: PartialEq, T: PartialEq> PartialEq for TaggedValue<V, T>
impl<V: PartialEq, T: PartialEq> PartialEq for TaggedValue<V, T>
source§fn eq(&self, other: &TaggedValue<V, T>) -> bool
fn eq(&self, other: &TaggedValue<V, T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<V: Copy, T: Copy> Copy for TaggedValue<V, T>
impl<V: Eq, T: Eq> Eq for TaggedValue<V, T>
impl<V, T> StructuralEq for TaggedValue<V, T>
impl<V, T> StructuralPartialEq for TaggedValue<V, T>
Auto Trait Implementations§
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