pub enum Outcome<V>where
V: Identities,{
Transferred(u32),
Failed(IoFault),
NeverIssued {
abandoned: Epoch<V>,
},
}Expand description
How a consumer operation ended.
Variants§
Transferred(u32)
Completed, with the count its completion reported. A write never completes short: its target completes it in full or with a fault (DI-D-50); a read may.
Failed(IoFault)
The operation reached its target and failed, as the backend reported it.
NeverIssued
A gated operation an abandoned epoch stopped before it was released: it never reached the kernel, so nothing was written. The epoch was its gate, or – for a write – its own, which no write may join once abandoned (DI-D-35, DI-D-43).
Trait Implementations§
Auto Trait Implementations§
impl<V> !RefUnwindSafe for Outcome<V>
impl<V> !UnwindSafe for Outcome<V>
impl<V> Freeze for Outcome<V>
impl<V> Send for Outcome<V>
impl<V> Sync for Outcome<V>
impl<V> Unpin for Outcome<V>
impl<V> UnsafeUnpin for Outcome<V>where
Epoch<V>: UnsafeUnpin,
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