pub enum ShardState {
Unsplit(ShardStateUnsplit),
Split(ShardStateSplit),
}Expand description
Applied shard state.
Variants§
Unsplit(ShardStateUnsplit)
The next indivisible state in the shard.
Split(ShardStateSplit)
Next indivisible states after shard split.
Trait Implementations§
Source§impl Clone for ShardState
impl Clone for ShardState
Source§fn clone(&self) -> ShardState
fn clone(&self) -> ShardState
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShardState
impl Debug for ShardState
Source§impl<'a> Load<'a> for ShardState
impl<'a> Load<'a> for ShardState
Source§impl PartialEq for ShardState
impl PartialEq for ShardState
Source§impl Store for ShardState
impl Store for ShardState
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 Eq for ShardState
impl StructuralPartialEq for ShardState
Auto Trait Implementations§
impl Freeze for ShardState
impl !RefUnwindSafe for ShardState
impl Send for ShardState
impl Sync for ShardState
impl Unpin for ShardState
impl !UnwindSafe for ShardState
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.