pub enum FsResult<T = ()> {
Ok(T),
Err(FsError),
Io(FsIo),
}
Expand description
Output emitted after a coroutine finishes its progression.
Variants§
Ok(T)
The coroutine has successfully terminated its progression.
Err(FsError)
An error occured during the coroutine progression.
Io(FsIo)
A filesystem I/O needs to be performed to make the coroutine progress.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for FsResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for FsResult<T>where
T: RefUnwindSafe,
impl<T> Send for FsResult<T>where
T: Send,
impl<T> Sync for FsResult<T>where
T: Sync,
impl<T> Unpin for FsResult<T>where
T: Unpin,
impl<T> UnwindSafe for FsResult<T>where
T: 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