pub enum AliasKind {
Link,
HardLink,
}Expand description
The aliases one name can be. On Windows a junction and a symbolic
link are both reparse points and file_type().is_symlink() answers
true for either, which is why they share a variant: refusing the
family is one rule, not one rule per reparse tag. The third member
of the family - the hard link - is a regular file whose link count is
above one (crates/storage/spec/Alias.lean §8-25, crates/storage/Spec.lean §3).
Variants§
Link
A symbolic link or a directory junction: the name leads somewhere else entirely.
HardLink
A file with more than one name: one write lands in every name at once.
Trait Implementations§
impl Copy for AliasKind
impl Eq for AliasKind
impl StructuralPartialEq for AliasKind
Auto Trait Implementations§
impl Freeze for AliasKind
impl RefUnwindSafe for AliasKind
impl Send for AliasKind
impl Sync for AliasKind
impl Unpin for AliasKind
impl UnsafeUnpin for AliasKind
impl UnwindSafe for AliasKind
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