#[non_exhaustive]pub enum PrivateFileLinkState {
Single,
PublicationPair,
}Expand description
Expected hard-link state for a private regular-file handle.
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.
Single
A normal private file with one filesystem link.
PublicationPair
A staging file during create-only publication, with staging and final links.
Trait Implementations§
Source§impl Clone for PrivateFileLinkState
impl Clone for PrivateFileLinkState
impl Copy for PrivateFileLinkState
Source§impl Debug for PrivateFileLinkState
impl Debug for PrivateFileLinkState
impl Eq for PrivateFileLinkState
Source§impl PartialEq for PrivateFileLinkState
impl PartialEq for PrivateFileLinkState
impl StructuralPartialEq for PrivateFileLinkState
Auto Trait Implementations§
impl Freeze for PrivateFileLinkState
impl RefUnwindSafe for PrivateFileLinkState
impl Send for PrivateFileLinkState
impl Sync for PrivateFileLinkState
impl Unpin for PrivateFileLinkState
impl UnsafeUnpin for PrivateFileLinkState
impl UnwindSafe for PrivateFileLinkState
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