pub enum StoreState {
Open,
Closing,
Closed,
}Expand description
Explicit lifecycle state for one store handle.
Variants§
Open
New calls may be admitted.
Closing
New calls are rejected while admitted work drains.
Closed
Teardown completed and only idempotent close/state calls remain valid.
Trait Implementations§
Source§impl Clone for StoreState
impl Clone for StoreState
impl Copy for StoreState
Source§impl Debug for StoreState
impl Debug for StoreState
impl Eq for StoreState
Source§impl PartialEq for StoreState
impl PartialEq for StoreState
impl StructuralPartialEq for StoreState
Auto Trait Implementations§
impl Freeze for StoreState
impl RefUnwindSafe for StoreState
impl Send for StoreState
impl Sync for StoreState
impl Unpin for StoreState
impl UnsafeUnpin for StoreState
impl UnwindSafe for StoreState
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