pub enum ComputedOffsetId<'a> {
HeaderStart,
PacketEnd,
FieldOffset(&'a str),
FieldEndOffset(&'a str),
Custom(u16),
TrailerStart,
}
Variants§
Trait Implementations§
source§impl<'a> Clone for ComputedOffsetId<'a>
impl<'a> Clone for ComputedOffsetId<'a>
source§fn clone(&self) -> ComputedOffsetId<'a>
fn clone(&self) -> ComputedOffsetId<'a>
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> Debug for ComputedOffsetId<'a>
impl<'a> Debug for ComputedOffsetId<'a>
source§impl<'a> Hash for ComputedOffsetId<'a>
impl<'a> Hash for ComputedOffsetId<'a>
source§impl<'a> PartialEq<ComputedOffsetId<'a>> for ComputedOffsetId<'a>
impl<'a> PartialEq<ComputedOffsetId<'a>> for ComputedOffsetId<'a>
source§fn eq(&self, other: &ComputedOffsetId<'a>) -> bool
fn eq(&self, other: &ComputedOffsetId<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Copy for ComputedOffsetId<'a>
impl<'a> Eq for ComputedOffsetId<'a>
impl<'a> StructuralEq for ComputedOffsetId<'a>
impl<'a> StructuralPartialEq for ComputedOffsetId<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ComputedOffsetId<'a>
impl<'a> Send for ComputedOffsetId<'a>
impl<'a> Sync for ComputedOffsetId<'a>
impl<'a> Unpin for ComputedOffsetId<'a>
impl<'a> UnwindSafe for ComputedOffsetId<'a>
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