pub enum SResult<Output = (), Error = ()> {
Done(usize, Output),
Needed(usize),
Error(Error),
}
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Output, Error> Freeze for SResult<Output, Error>
impl<Output, Error> RefUnwindSafe for SResult<Output, Error>where
Output: RefUnwindSafe,
Error: RefUnwindSafe,
impl<Output, Error> Send for SResult<Output, Error>
impl<Output, Error> Sync for SResult<Output, Error>
impl<Output, Error> Unpin for SResult<Output, Error>
impl<Output, Error> UnwindSafe for SResult<Output, Error>where
Output: UnwindSafe,
Error: 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