pub enum FilesystemEntryKind {
Unspecified,
File,
Directory,
}Expand description
Entry type returned by a workload filesystem operation.
Variants§
Unspecified
Entry type could not be represented by the pinned contract.
File
Regular file, or a symlink whose target is a regular file.
Directory
Directory, or a symlink whose target is a directory.
Trait Implementations§
Source§impl Clone for FilesystemEntryKind
impl Clone for FilesystemEntryKind
Source§fn clone(&self) -> FilesystemEntryKind
fn clone(&self) -> FilesystemEntryKind
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 FilesystemEntryKind
Source§impl Debug for FilesystemEntryKind
impl Debug for FilesystemEntryKind
Source§impl<'de> Deserialize<'de> for FilesystemEntryKind
impl<'de> Deserialize<'de> for FilesystemEntryKind
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
impl Eq for FilesystemEntryKind
Source§impl PartialEq for FilesystemEntryKind
impl PartialEq for FilesystemEntryKind
Source§impl Serialize for FilesystemEntryKind
impl Serialize for FilesystemEntryKind
impl StructuralPartialEq for FilesystemEntryKind
Auto Trait Implementations§
impl Freeze for FilesystemEntryKind
impl RefUnwindSafe for FilesystemEntryKind
impl Send for FilesystemEntryKind
impl Sync for FilesystemEntryKind
impl Unpin for FilesystemEntryKind
impl UnsafeUnpin for FilesystemEntryKind
impl UnwindSafe for FilesystemEntryKind
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.