pub enum Phase {
Setup,
Read,
Cleanup,
}Expand description
Represents the current operational phase of a phased cell.
The lifecycle of a phased cell progresses through these three distinct phases:
Setup: The initial phase where the data is constructed and initialized.Read: The main operational phase where the data is accessed for read-only operations.Cleanup: The final phase where the data is deconstructed and resources are released.
Variants§
Setup
The initial phase for setting up the data.
Read
The phase for reading the data.
Cleanup
The final phase for cleaning up the data.
Trait Implementations§
impl Eq for Phase
impl StructuralPartialEq for Phase
Auto Trait Implementations§
impl Freeze for Phase
impl RefUnwindSafe for Phase
impl Send for Phase
impl Sync for Phase
impl Unpin for Phase
impl UnwindSafe for Phase
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