pub enum FollowMode {
Follow,
NoFollow,
}Expand description
Variants§
Follow
Follow symlinks (the default; find -L).
NoFollow
Do not follow symlinks (--no-follow; plain find).
Implementations§
Source§impl FollowMode
impl FollowMode
Sourcepub fn follows_symlinks(self) -> bool
pub fn follows_symlinks(self) -> bool
Returns true if symlinks are followed.
Trait Implementations§
Source§impl Clone for FollowMode
impl Clone for FollowMode
Source§fn clone(&self) -> FollowMode
fn clone(&self) -> FollowMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FollowMode
Source§impl Debug for FollowMode
impl Debug for FollowMode
Source§impl Default for FollowMode
impl Default for FollowMode
Source§fn default() -> FollowMode
fn default() -> FollowMode
Returns the “default value” for a type. Read more
impl Eq for FollowMode
Source§impl PartialEq for FollowMode
impl PartialEq for FollowMode
Source§fn eq(&self, other: &FollowMode) -> bool
fn eq(&self, other: &FollowMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FollowMode
Auto Trait Implementations§
impl Freeze for FollowMode
impl RefUnwindSafe for FollowMode
impl Send for FollowMode
impl Sync for FollowMode
impl Unpin for FollowMode
impl UnsafeUnpin for FollowMode
impl UnwindSafe for FollowMode
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