pub struct ShardStateSplit {
pub left: Lazy<ShardStateUnsplit>,
pub right: Lazy<ShardStateUnsplit>,
}Expand description
Next indivisible states after shard split.
Fields§
§left: Lazy<ShardStateUnsplit>Reference to the state of the left shard.
right: Lazy<ShardStateUnsplit>Reference to the state of the right shard.
Trait Implementations§
Source§impl Clone for ShardStateSplit
impl Clone for ShardStateSplit
Source§fn clone(&self) -> ShardStateSplit
fn clone(&self) -> ShardStateSplit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ShardStateSplit
impl Debug for ShardStateSplit
impl Eq for ShardStateSplit
Source§impl<'tlb> Load<'tlb> for ShardStateSplit
impl<'tlb> Load<'tlb> for ShardStateSplit
Source§impl PartialEq for ShardStateSplit
impl PartialEq for ShardStateSplit
Source§fn eq(&self, other: &ShardStateSplit) -> bool
fn eq(&self, other: &ShardStateSplit) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Store for ShardStateSplit
impl Store for ShardStateSplit
Source§fn store_into(
&self,
__builder: &mut CellBuilder,
__context: &dyn CellContext,
) -> Result<(), Error>
fn store_into( &self, __builder: &mut CellBuilder, __context: &dyn CellContext, ) -> Result<(), Error>
Tries to store itself into the cell builder.
impl StructuralPartialEq for ShardStateSplit
Auto Trait Implementations§
impl !RefUnwindSafe for ShardStateSplit
impl !UnwindSafe for ShardStateSplit
impl Freeze for ShardStateSplit
impl Send for ShardStateSplit
impl Sync for ShardStateSplit
impl Unpin for ShardStateSplit
impl UnsafeUnpin for ShardStateSplit
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self to key and returns true if they are equal.