pub enum DurableSaveOutcome {
Nothing,
Completed,
Failed,
TimedOut,
}Expand description
Result of a lifecycle or explicit save boundary.
Variants§
Nothing
No work was registered.
Completed
Every callback and preferences batch succeeded.
Failed
A callback panicked, a worker could not start, or a write failed.
TimedOut
The deadline expired. Running work can finish under its background lease.
Trait Implementations§
Source§impl Clone for DurableSaveOutcome
impl Clone for DurableSaveOutcome
impl Copy for DurableSaveOutcome
Source§impl Debug for DurableSaveOutcome
impl Debug for DurableSaveOutcome
impl Eq for DurableSaveOutcome
Source§impl PartialEq for DurableSaveOutcome
impl PartialEq for DurableSaveOutcome
impl StructuralPartialEq for DurableSaveOutcome
Auto Trait Implementations§
impl Freeze for DurableSaveOutcome
impl RefUnwindSafe for DurableSaveOutcome
impl Send for DurableSaveOutcome
impl Sync for DurableSaveOutcome
impl Unpin for DurableSaveOutcome
impl UnsafeUnpin for DurableSaveOutcome
impl UnwindSafe for DurableSaveOutcome
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