#[non_exhaustive]pub enum CheckpointOperation {
Serialize,
Deserialize,
}Expand description
Checkpoint serialization operation that failed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Serialize
Serializing a checkpoint or checkpoint-like payload failed.
Deserialize
Deserializing a checkpoint or checkpoint-like payload failed.
Trait Implementations§
Source§impl Clone for CheckpointOperation
impl Clone for CheckpointOperation
Source§fn clone(&self) -> CheckpointOperation
fn clone(&self) -> CheckpointOperation
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 CheckpointOperation
impl Debug for CheckpointOperation
Source§impl Display for CheckpointOperation
impl Display for CheckpointOperation
Source§impl Hash for CheckpointOperation
impl Hash for CheckpointOperation
Source§impl PartialEq for CheckpointOperation
impl PartialEq for CheckpointOperation
Source§fn eq(&self, other: &CheckpointOperation) -> bool
fn eq(&self, other: &CheckpointOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CheckpointOperation
impl Eq for CheckpointOperation
impl StructuralPartialEq for CheckpointOperation
Auto Trait Implementations§
impl Freeze for CheckpointOperation
impl RefUnwindSafe for CheckpointOperation
impl Send for CheckpointOperation
impl Sync for CheckpointOperation
impl Unpin for CheckpointOperation
impl UnsafeUnpin for CheckpointOperation
impl UnwindSafe for CheckpointOperation
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