#[repr(i32)]pub enum OfferSnapshotResult {
Unknown = 0,
Accept = 1,
Abort = 2,
Reject = 3,
RejectFormat = 4,
RejectSender = 5,
}Variants§
Unknown = 0
Unknown result, abort all snapshot restoration
Accept = 1
Snapshot accepted, apply chunks
Abort = 2
Abort all snapshot restoration
Reject = 3
Reject this specific snapshot, try others
RejectFormat = 4
Reject all snapshots of this format, try others
RejectSender = 5
Reject all snapshots from the sender(s), try others
Implementations§
Trait Implementations§
Source§impl Ord for Result
impl Ord for Result
Source§impl PartialOrd for Result
impl PartialOrd for Result
impl Copy for Result
impl Eq for Result
impl StructuralPartialEq for Result
Auto Trait Implementations§
impl Freeze for Result
impl RefUnwindSafe for Result
impl Send for Result
impl Sync for Result
impl Unpin for Result
impl UnwindSafe for Result
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