Enum cfx_storage::NodeRefDeltaMpt
source · pub enum NodeRefDeltaMpt {
Committed {
db_key: u32,
},
Dirty {
index: u32,
},
}
Variants§
Trait Implementations§
source§impl Clone for NodeRefDeltaMpt
impl Clone for NodeRefDeltaMpt
source§fn clone(&self) -> NodeRefDeltaMpt
fn clone(&self) -> NodeRefDeltaMpt
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 NodeRefDeltaMpt
impl Debug for NodeRefDeltaMpt
source§impl From<NodeRefDeltaMpt> for NodeRefDeltaMptCompact
impl From<NodeRefDeltaMpt> for NodeRefDeltaMptCompact
source§fn from(node: NodeRefDeltaMpt) -> Self
fn from(node: NodeRefDeltaMpt) -> Self
Converts to this type from the input type.
source§impl From<NodeRefDeltaMptCompact> for NodeRefDeltaMpt
impl From<NodeRefDeltaMptCompact> for NodeRefDeltaMpt
source§fn from(x: NodeRefDeltaMptCompact) -> Self
fn from(x: NodeRefDeltaMptCompact) -> Self
Converts to this type from the input type.
source§impl MallocSizeOf for NodeRefDeltaMpt
impl MallocSizeOf for NodeRefDeltaMpt
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl Ord for NodeRefDeltaMpt
impl Ord for NodeRefDeltaMpt
source§fn cmp(&self, other: &NodeRefDeltaMpt) -> Ordering
fn cmp(&self, other: &NodeRefDeltaMpt) -> 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 NodeRefDeltaMpt
impl PartialEq for NodeRefDeltaMpt
source§fn eq(&self, other: &NodeRefDeltaMpt) -> bool
fn eq(&self, other: &NodeRefDeltaMpt) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NodeRefDeltaMpt
impl PartialOrd for NodeRefDeltaMpt
source§fn partial_cmp(&self, other: &NodeRefDeltaMpt) -> Option<Ordering>
fn partial_cmp(&self, other: &NodeRefDeltaMpt) -> 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 moreimpl Eq for NodeRefDeltaMpt
impl StructuralPartialEq for NodeRefDeltaMpt
Auto Trait Implementations§
impl RefUnwindSafe for NodeRefDeltaMpt
impl Send for NodeRefDeltaMpt
impl Sync for NodeRefDeltaMpt
impl Unpin for NodeRefDeltaMpt
impl UnwindSafe for NodeRefDeltaMpt
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