pub struct ParsedPointer { /* private fields */ }Expand description
Bytes that have been structurally parsed but not yet verified.
The bytes travel with their parse, so a caller cannot pair one record’s
bytes with another’s state. Only Pointer::verify_parsed consumes it, and
only that step establishes that the bytes are signed.
Implementations§
Source§impl ParsedPointer
impl ParsedPointer
Sourcepub const fn state(&self) -> &PointerState
pub const fn state(&self) -> &PointerState
What the unverified bytes claim.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParsedPointer
impl RefUnwindSafe for ParsedPointer
impl Send for ParsedPointer
impl Sync for ParsedPointer
impl Unpin for ParsedPointer
impl UnsafeUnpin for ParsedPointer
impl UnwindSafe for ParsedPointer
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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