Enum btlib::DirEntryKind
source · pub enum DirEntryKind {
Directory,
File,
Server,
Process,
}
Expand description
Auto-generated discriminant enum variants
Variants§
Implementations§
source§impl DirEntryKind
impl DirEntryKind
Trait Implementations§
source§impl Clone for DirEntryKind
impl Clone for DirEntryKind
source§fn clone(&self) -> DirEntryKind
fn clone(&self) -> DirEntryKind
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 DirEntryKind
impl Debug for DirEntryKind
source§impl<'de> Deserialize<'de> for DirEntryKind
impl<'de> Deserialize<'de> for DirEntryKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for DirEntryKind
impl Display for DirEntryKind
source§impl<'_enum> From<&'_enum DirEntry> for DirEntryKind
impl<'_enum> From<&'_enum DirEntry> for DirEntryKind
source§fn from(val: &'_enum DirEntry) -> DirEntryKind
fn from(val: &'_enum DirEntry) -> DirEntryKind
Converts to this type from the input type.
source§impl From<DirEntry> for DirEntryKind
impl From<DirEntry> for DirEntryKind
source§fn from(val: DirEntry) -> DirEntryKind
fn from(val: DirEntry) -> DirEntryKind
Converts to this type from the input type.
source§impl PartialEq<DirEntryKind> for DirEntryKind
impl PartialEq<DirEntryKind> for DirEntryKind
source§fn eq(&self, other: &DirEntryKind) -> bool
fn eq(&self, other: &DirEntryKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DirEntryKind
impl Serialize for DirEntryKind
impl Copy for DirEntryKind
impl Eq for DirEntryKind
impl StructuralEq for DirEntryKind
impl StructuralPartialEq for DirEntryKind
Auto Trait Implementations§
impl RefUnwindSafe for DirEntryKind
impl Send for DirEntryKind
impl Sync for DirEntryKind
impl Unpin for DirEntryKind
impl UnwindSafe for DirEntryKind
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