pub enum SidecarPolicy {
RenameSidecars,
DeleteSidecars,
}Expand description
What happens to the -wal, -shm and -journal sidecars of a quarantined database.
Variants§
RenameSidecars
Move each sidecar beside the quarantined file, under the same suffix. Nothing is deleted (default).
DeleteSidecars
Delete the sidecars. Their bytes are not kept for diagnosis, and no stale WAL is left at the original path.
Trait Implementations§
Source§impl Clone for SidecarPolicy
impl Clone for SidecarPolicy
impl Copy for SidecarPolicy
Source§impl Debug for SidecarPolicy
impl Debug for SidecarPolicy
Source§impl Default for SidecarPolicy
impl Default for SidecarPolicy
impl Eq for SidecarPolicy
Source§impl PartialEq for SidecarPolicy
impl PartialEq for SidecarPolicy
impl StructuralPartialEq for SidecarPolicy
Auto Trait Implementations§
impl Freeze for SidecarPolicy
impl RefUnwindSafe for SidecarPolicy
impl Send for SidecarPolicy
impl Sync for SidecarPolicy
impl Unpin for SidecarPolicy
impl UnsafeUnpin for SidecarPolicy
impl UnwindSafe for SidecarPolicy
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