Enum FieldEnum
#[repr(u8)]pub enum FieldEnum {
Show 29 variants
XFlagsF = 0,
VarHopF = 1,
XStampF = 2,
XBits0F = 3,
XBits1F = 4,
XBits2F = 5,
XBits3F = 6,
PointHashF = 7,
PointTypeF = 8,
SizeF = 9,
PubKeyF = 10,
SignatureF = 11,
GroupIDF = 12,
DomainF = 13,
StampF = 14,
NPartsF = 15,
LinksLenF = 16,
DataSizeF = 17,
PathSegmF = 18,
PathF = 19,
Part0F = 20,
Part1F = 21,
Part2F = 22,
Part3F = 23,
Part4F = 24,
Part5F = 25,
Part6F = 26,
Part7F = 27,
DataF = 28,
}
Expand description
An enum that provides access to the fields in a Point
Variants§
XFlagsF = 0
VarHopF = 1
XStampF = 2
XBits0F = 3
XBits1F = 4
XBits2F = 5
XBits3F = 6
PointHashF = 7
PointTypeF = 8
SizeF = 9
PubKeyF = 10
SignatureF = 11
GroupIDF = 12
DomainF = 13
StampF = 14
NPartsF = 15
LinksLenF = 16
DataSizeF = 17
PathSegmF = 18
PathF = 19
Part0F = 20
Part1F = 21
Part2F = 22
Part3F = 23
Part4F = 24
Part5F = 25
Part6F = 26
Part7F = 27
DataF = 28
Implementations§
§impl FieldEnum
impl FieldEnum
pub fn ptr_getter(self) -> GetPred<PointPtr>
pub fn fixed_size(self) -> Option<usize>
pub fn bytes(self, point: &dyn Point, out: &mut dyn Write) -> Result<(), Error>
pub fn bytes(self, point: &dyn Point, out: &mut dyn Write) -> Result<(), Error>
This always returns something even if the field doesn’t exists for the specific point
pub fn display( self, point: &dyn Point, out: &mut dyn Write, ) -> Result<(), Error>
pub fn into_abe(self, point: &dyn Point) -> String
pub fn abe(self, point: &dyn Point, out: &mut dyn Write) -> Result<(), Error>
Trait Implementations§
§impl TryFrom<FieldEnum> for PredicateType
impl TryFrom<FieldEnum> for PredicateType
§impl TryInto<FieldEnum> for PredicateType
impl TryInto<FieldEnum> for PredicateType
impl Copy for FieldEnum
impl Eq for FieldEnum
impl StructuralPartialEq for FieldEnum
Auto Trait Implementations§
impl Freeze for FieldEnum
impl RefUnwindSafe for FieldEnum
impl Send for FieldEnum
impl Sync for FieldEnum
impl Unpin for FieldEnum
impl UnwindSafe for FieldEnum
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more