pub enum SnapshotName {
Auto,
Manual(Option<String>),
}Expand description
What a snapshot is called.
Variants§
Auto
Scheduled: auto-<stamp>, pruned to keep.
Manual(Option<String>)
Snapshot now: this name, or manual-<stamp>.
Trait Implementations§
Source§impl Clone for SnapshotName
impl Clone for SnapshotName
Auto Trait Implementations§
impl Freeze for SnapshotName
impl RefUnwindSafe for SnapshotName
impl Send for SnapshotName
impl Sync for SnapshotName
impl Unpin for SnapshotName
impl UnsafeUnpin for SnapshotName
impl UnwindSafe for SnapshotName
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