pub enum Control {
Inspect,
RevokeConnector,
Acquire {
create: bool,
},
Renew {
epoch: u64,
},
Read {
generation: u64,
start: usize,
},
Stage {
epoch: u64,
generation: u64,
start: usize,
chunks: Vec<String>,
},
Commit {
epoch: u64,
checkpoint: Checkpoint,
},
Publish {
epoch: u64,
checkpoint: Checkpoint,
chunks: Vec<String>,
},
Release {
epoch: u64,
},
Disable {
epoch: u64,
},
}Variants§
Inspect
RevokeConnector
Revoke a named connector under current cluster configuration authority.
Acquire
Renew
Read
Stage
Commit
Publish
Publish a complete small checkpoint in one atomic storage operation.
Release
Disable
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Control
impl<'de> Deserialize<'de> for Control
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 Forget for Control
impl Freeze for Control
impl Move for Control
impl RefUnwindSafe for Control
impl Send for Controlwhere
RawVecInner: Send,
impl Sync for Controlwhere
RawVecInner: Sync,
impl Unpin for Control
impl UnsafeUnpin for Controlwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Controlwhere
RawVecInner: UnwindSafe,
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