pub enum RawTaggedField {
KnownSemantics(TaggedField),
UnknownSemantics(Vec<u5>),
}
Expand description
Tagged field which may have an unknown tag
This is not exported to bindings users as we don’t currently support TaggedField
Variants§
KnownSemantics(TaggedField)
Parsed tagged field with known tag
UnknownSemantics(Vec<u5>)
tagged field which was not parsed due to an unknown tag or undefined field semantics
Trait Implementations§
source§impl Clone for RawTaggedField
impl Clone for RawTaggedField
source§fn clone(&self) -> RawTaggedField
fn clone(&self) -> RawTaggedField
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 Debug for RawTaggedField
impl Debug for RawTaggedField
source§impl From<TaggedField> for RawTaggedField
impl From<TaggedField> for RawTaggedField
source§fn from(tf: TaggedField) -> Self
fn from(tf: TaggedField) -> Self
Converts to this type from the input type.
source§impl Hash for RawTaggedField
impl Hash for RawTaggedField
source§impl Ord for RawTaggedField
impl Ord for RawTaggedField
source§fn cmp(&self, other: &RawTaggedField) -> Ordering
fn cmp(&self, other: &RawTaggedField) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for RawTaggedField
impl PartialEq for RawTaggedField
source§fn eq(&self, other: &RawTaggedField) -> bool
fn eq(&self, other: &RawTaggedField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RawTaggedField
impl PartialOrd for RawTaggedField
source§fn partial_cmp(&self, other: &RawTaggedField) -> Option<Ordering>
fn partial_cmp(&self, other: &RawTaggedField) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl ToBase32 for RawTaggedField
impl ToBase32 for RawTaggedField
source§fn write_base32<W: WriteBase32>(
&self,
writer: &mut W
) -> Result<(), <W as WriteBase32>::Err>
fn write_base32<W: WriteBase32>( &self, writer: &mut W ) -> Result<(), <W as WriteBase32>::Err>
Encode as base32 and write it to the supplied writer
Implementations shouldn’t allocate.
impl Eq for RawTaggedField
impl StructuralEq for RawTaggedField
impl StructuralPartialEq for RawTaggedField
Auto Trait Implementations§
impl RefUnwindSafe for RawTaggedField
impl Send for RawTaggedField
impl Sync for RawTaggedField
impl Unpin for RawTaggedField
impl UnwindSafe for RawTaggedField
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