#[repr(u8)]pub enum State {
Absent = 0,
Reading = 1,
Landed = 2,
Installing = 3,
Resident = 4,
Failed = 5,
}Expand description
Lifecycle of one tracked resource.
Variants§
Absent = 0
Not loaded, no pages (an entry exists only because it is pinned).
Reading = 1
A read request is in flight into reserved pages.
Landed = 2
The bytes have landed but are not verified or installed yet; nothing may use them. The grid-free equivalent of the old “stored” state.
Installing = 3
An install (verify, relocate, upload) is running on the landed bytes.
Resident = 4
Installed and usable.
Failed = 5
The last read or install failed; retried after a backoff.
Trait Implementations§
impl Copy for State
impl Eq for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnsafeUnpin for State
impl UnwindSafe for State
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)