pub enum FsOutput {
Opened,
Read(usize),
Wrote(usize),
Metadata(FileMetadata),
Directory {
n: usize,
eof: bool,
},
Bytes(usize),
Done,
}Expand description
Backend- or worker-side typed result; the core attaches leases and handles.
Metadata is inline: results travel through fixed, preallocated event storage,
and boxing would allocate per stat. The pool path keeps metadata in its slot.
Variants§
Opened
The request’s new handle is bound.
Read(usize)
Bytes read.
Wrote(usize)
Bytes written.
Metadata(FileMetadata)
Metadata.
Directory
Directory record bytes.
Bytes(usize)
Result bytes (link content or canonical path).
Done
Success without a value.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FsOutput
impl RefUnwindSafe for FsOutput
impl Send for FsOutput
impl Sync for FsOutput
impl Unpin for FsOutput
impl UnsafeUnpin for FsOutput
impl UnwindSafe for FsOutput
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