Enum swap::controller::State
source · enum State<'scope> {
SwapOutPending,
Trim(ScopedJoinHandle<'scope, Result<()>>),
SwapOutInProgress {
started_time: Instant,
},
SwapOutCompleted,
SwapInInProgress {
join_handle: ScopedJoinHandle<'scope, Result<()>>,
slow_file_cleanup: bool,
},
Failed,
}
Variants§
SwapOutPending
Trim(ScopedJoinHandle<'scope, Result<()>>)
SwapOutInProgress
SwapOutCompleted
SwapInInProgress
Failed
Trait Implementations§
Auto Trait Implementations§
impl<'scope> !RefUnwindSafe for State<'scope>
impl<'scope> Send for State<'scope>
impl<'scope> Sync for State<'scope>
impl<'scope> Unpin for State<'scope>
impl<'scope> !UnwindSafe for State<'scope>
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