pub struct NodeFlushToken {
pub root_id: u8,
pub data: [u8; 32],
pub depth: usize,
pub index: usize,
}
Expand description
Signature of the Nodes channel: (Root ID, Data, Depth, Index)
Fields§
§root_id: u8
§data: [u8; 32]
§depth: usize
§index: usize
Trait Implementations§
Source§impl Clone for NodeFlushToken
impl Clone for NodeFlushToken
Source§fn clone(&self) -> NodeFlushToken
fn clone(&self) -> NodeFlushToken
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 NodeFlushToken
impl Debug for NodeFlushToken
Source§impl Hash for NodeFlushToken
impl Hash for NodeFlushToken
Source§impl Ord for NodeFlushToken
impl Ord for NodeFlushToken
Source§fn cmp(&self, other: &NodeFlushToken) -> Ordering
fn cmp(&self, other: &NodeFlushToken) -> 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 NodeFlushToken
impl PartialEq for NodeFlushToken
Source§impl PartialOrd for NodeFlushToken
impl PartialOrd for NodeFlushToken
impl Copy for NodeFlushToken
impl Eq for NodeFlushToken
impl StructuralPartialEq for NodeFlushToken
Auto Trait Implementations§
impl Freeze for NodeFlushToken
impl RefUnwindSafe for NodeFlushToken
impl Send for NodeFlushToken
impl Sync for NodeFlushToken
impl Unpin for NodeFlushToken
impl UnwindSafe for NodeFlushToken
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