#[repr(u32)]pub enum ExternalKind {
Regular = 0,
Directory = 1,
SymLink = 2,
Other = 3,
}
Variants§
Trait Implementations§
Source§impl Clone for ExternalKind
impl Clone for ExternalKind
Source§fn clone(&self) -> ExternalKind
fn clone(&self) -> ExternalKind
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 ExternalKind
impl Debug for ExternalKind
Source§impl From<FileKind> for ExternalKind
impl From<FileKind> for ExternalKind
Source§impl Hash for ExternalKind
impl Hash for ExternalKind
Source§impl Ord for ExternalKind
impl Ord for ExternalKind
Source§fn cmp(&self, other: &ExternalKind) -> Ordering
fn cmp(&self, other: &ExternalKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExternalKind
impl PartialEq for ExternalKind
Source§impl PartialOrd for ExternalKind
impl PartialOrd for ExternalKind
impl Copy for ExternalKind
impl Eq for ExternalKind
impl StructuralPartialEq for ExternalKind
Auto Trait Implementations§
impl Freeze for ExternalKind
impl ObjSafe for ExternalKind
impl RefUnwindSafe for ExternalKind
impl Send for ExternalKind
impl StoreCopy for ExternalKind
impl Sync for ExternalKind
impl Unpin for ExternalKind
impl UnwindSafe for ExternalKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more