#[non_exhaustive]pub enum Sharing {
Unknown,
None,
Partial,
Full,
}Expand description
How a file’s blocks are shared with other files.
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.
Unknown
The platform gave us no sharing information.
None
No blocks shared with any other file.
Partial
Some blocks shared; deleting frees unique bytes.
Full
Every block shared; deleting this file frees nothing.
Trait Implementations§
impl Copy for Sharing
impl Eq for Sharing
impl StructuralPartialEq for Sharing
Auto Trait Implementations§
impl Freeze for Sharing
impl RefUnwindSafe for Sharing
impl Send for Sharing
impl Sync for Sharing
impl Unpin for Sharing
impl UnsafeUnpin for Sharing
impl UnwindSafe for Sharing
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