pub enum FileResponse {
Unit,
Bytes(Vec<u8>),
Entries(Vec<FileEntry>),
Exists(bool),
Metadata(FileMetadata),
Link(String),
}Expand description
A filesystem operation’s result.
Variants§
Unit
Completed mutation.
Bytes(Vec<u8>)
File contents.
Entries(Vec<FileEntry>)
Directory entries.
Exists(bool)
Existence result.
Metadata(FileMetadata)
Entry metadata.
Link(String)
A link’s target.
Auto Trait Implementations§
impl Forget for FileResponse
impl Freeze for FileResponse
impl Move for FileResponse
impl RefUnwindSafe for FileResponse
impl Send for FileResponse
impl Sync for FileResponse
impl Unpin for FileResponse
impl UnsafeUnpin for FileResponse
impl UnwindSafe for FileResponse
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