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 FileResponsewhere
RawVecInner: Send,
impl Sync for FileResponsewhere
RawVecInner: Sync,
impl Unpin for FileResponse
impl UnsafeUnpin for FileResponsewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<FileEntry>: UnsafeUnpin,
impl UnwindSafe for FileResponsewhere
RawVecInner: UnwindSafe,
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