#[non_exhaustive]pub enum SnapshotRef {
VssStore(usize),
ApfsXid(u64),
}Expand description
A reference to one snapshot within a snapshot set.
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.
Trait Implementations§
Source§impl Clone for SnapshotRef
impl Clone for SnapshotRef
Source§fn clone(&self) -> SnapshotRef
fn clone(&self) -> SnapshotRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SnapshotRef
Source§impl Debug for SnapshotRef
impl Debug for SnapshotRef
impl Eq for SnapshotRef
Source§impl Hash for SnapshotRef
impl Hash for SnapshotRef
Source§impl PartialEq for SnapshotRef
impl PartialEq for SnapshotRef
impl StructuralPartialEq for SnapshotRef
Auto Trait Implementations§
impl Freeze for SnapshotRef
impl RefUnwindSafe for SnapshotRef
impl Send for SnapshotRef
impl Sync for SnapshotRef
impl Unpin for SnapshotRef
impl UnsafeUnpin for SnapshotRef
impl UnwindSafe for SnapshotRef
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