pub enum ShardCommand {
Pause,
Resume,
ConsistencyCheck,
Compact,
SyncGhosts,
Shutdown,
}Expand description
Commands that the coordinator can send to shards.
Variants§
Pause
Pause processing (e.g., for maintenance).
Resume
Resume processing.
ConsistencyCheck
Trigger a consistency check.
Compact
Compact the local graph.
SyncGhosts
Sync ghost nodes.
Shutdown
Shutdown gracefully.
Trait Implementations§
Source§impl Clone for ShardCommand
impl Clone for ShardCommand
Source§fn clone(&self) -> ShardCommand
fn clone(&self) -> ShardCommand
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 ShardCommand
impl Debug for ShardCommand
Source§impl<'de> Deserialize<'de> for ShardCommand
impl<'de> Deserialize<'de> for ShardCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ShardCommand
impl RefUnwindSafe for ShardCommand
impl Send for ShardCommand
impl Sync for ShardCommand
impl Unpin for ShardCommand
impl UnsafeUnpin for ShardCommand
impl UnwindSafe for ShardCommand
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