#[non_exhaustive]pub enum NameRefusal {
TooLong,
InvalidOnThisFilesystem,
}Expand description
Why a filesystem refused a NAME: the one definition of “the filesystem refuses this name”, shared by extraction (which skips the entry) and the fuzz containment oracle (which cannot resolve such a link physically).
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.
TooLong
A component, or the whole path, is past the filesystem’s limit
(ENAMETOOLONG).
InvalidOnThisFilesystem
The name is not valid on this filesystem (EILSEQ: APFS refuses a
name that is not valid Unicode in its required form).
Trait Implementations§
Source§impl Clone for NameRefusal
impl Clone for NameRefusal
impl Copy for NameRefusal
Source§impl Debug for NameRefusal
impl Debug for NameRefusal
impl Eq for NameRefusal
Source§impl PartialEq for NameRefusal
impl PartialEq for NameRefusal
impl StructuralPartialEq for NameRefusal
Auto Trait Implementations§
impl Freeze for NameRefusal
impl RefUnwindSafe for NameRefusal
impl Send for NameRefusal
impl Sync for NameRefusal
impl Unpin for NameRefusal
impl UnsafeUnpin for NameRefusal
impl UnwindSafe for NameRefusal
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