Enum uucore::fs::MissingHandling
source · pub enum MissingHandling {
Normal,
Existing,
Missing,
}Expand description
Controls how symbolic links should be handled when canonicalizing a path.
Variants§
Normal
Return an error if any part of the path is missing.
Existing
Resolve symbolic links, ignoring errors on the final component.
Missing
Resolve symbolic links, ignoring errors on the non-final components.
Trait Implementations§
source§impl Clone for MissingHandling
impl Clone for MissingHandling
source§fn clone(&self) -> MissingHandling
fn clone(&self) -> MissingHandling
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for MissingHandling
impl Debug for MissingHandling
source§impl PartialEq<MissingHandling> for MissingHandling
impl PartialEq<MissingHandling> for MissingHandling
source§fn eq(&self, other: &MissingHandling) -> bool
fn eq(&self, other: &MissingHandling) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for MissingHandling
impl Eq for MissingHandling
impl StructuralEq for MissingHandling
impl StructuralPartialEq for MissingHandling
Auto Trait Implementations§
impl RefUnwindSafe for MissingHandling
impl Send for MissingHandling
impl Sync for MissingHandling
impl Unpin for MissingHandling
impl UnwindSafe for MissingHandling
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