#[non_exhaustive]pub enum PersistCleanupState {
Complete,
ResidualTemporaryContainer,
}Expand description
State of the private temporary container after publication succeeds.
§Examples
use qubit_fs::temp::PersistCleanupState;
assert!(matches!(PersistCleanupState::Complete, PersistCleanupState::Complete));Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Complete
The private temporary container was removed successfully.
ResidualTemporaryContainer
Publication succeeded, but the private temporary container remains.
Trait Implementations§
Source§impl Clone for PersistCleanupState
impl Clone for PersistCleanupState
impl Copy for PersistCleanupState
Source§impl Debug for PersistCleanupState
impl Debug for PersistCleanupState
impl Eq for PersistCleanupState
Source§impl PartialEq for PersistCleanupState
impl PartialEq for PersistCleanupState
impl StructuralPartialEq for PersistCleanupState
Auto Trait Implementations§
impl Freeze for PersistCleanupState
impl RefUnwindSafe for PersistCleanupState
impl Send for PersistCleanupState
impl Sync for PersistCleanupState
impl Unpin for PersistCleanupState
impl UnsafeUnpin for PersistCleanupState
impl UnwindSafe for PersistCleanupState
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