pub enum CheckpointPullStatus {
NotRequested,
InProgress,
Ok,
Error {
error: String,
},
}Expand description
Status of a POST /coordination/checkpoint/pull operation.
Returned by GET /coordination/checkpoint/pull_status.
Variants§
NotRequested
No pull has been requested yet.
InProgress
A pull is currently in progress.
Ok
The pull completed successfully.
Error
The pull failed.
Trait Implementations§
Source§impl Clone for CheckpointPullStatus
impl Clone for CheckpointPullStatus
Source§fn clone(&self) -> CheckpointPullStatus
fn clone(&self) -> CheckpointPullStatus
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 CheckpointPullStatus
impl Debug for CheckpointPullStatus
Source§impl Default for CheckpointPullStatus
impl Default for CheckpointPullStatus
Source§fn default() -> CheckpointPullStatus
fn default() -> CheckpointPullStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CheckpointPullStatus
impl<'de> Deserialize<'de> for CheckpointPullStatus
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
Source§impl PartialEq for CheckpointPullStatus
impl PartialEq for CheckpointPullStatus
Source§impl Serialize for CheckpointPullStatus
impl Serialize for CheckpointPullStatus
impl StructuralPartialEq for CheckpointPullStatus
Auto Trait Implementations§
impl Freeze for CheckpointPullStatus
impl RefUnwindSafe for CheckpointPullStatus
impl Send for CheckpointPullStatus
impl Sync for CheckpointPullStatus
impl Unpin for CheckpointPullStatus
impl UnsafeUnpin for CheckpointPullStatus
impl UnwindSafe for CheckpointPullStatus
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