pub enum SnapshotOfferResult {
Accept,
Reject,
Abort,
}Expand description
Result of offering a snapshot to the application.
Variants§
Trait Implementations§
Source§impl Clone for SnapshotOfferResult
impl Clone for SnapshotOfferResult
Source§fn clone(&self) -> SnapshotOfferResult
fn clone(&self) -> SnapshotOfferResult
Returns a duplicate of the value. Read more
1.0.0 · 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 SnapshotOfferResult
impl Debug for SnapshotOfferResult
Source§impl<'de> Deserialize<'de> for SnapshotOfferResult
impl<'de> Deserialize<'de> for SnapshotOfferResult
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 SnapshotOfferResult
impl PartialEq for SnapshotOfferResult
Source§impl Serialize for SnapshotOfferResult
impl Serialize for SnapshotOfferResult
impl StructuralPartialEq for SnapshotOfferResult
Auto Trait Implementations§
impl Freeze for SnapshotOfferResult
impl RefUnwindSafe for SnapshotOfferResult
impl Send for SnapshotOfferResult
impl Sync for SnapshotOfferResult
impl Unpin for SnapshotOfferResult
impl UnsafeUnpin for SnapshotOfferResult
impl UnwindSafe for SnapshotOfferResult
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