pub enum WriteStep {
Output {
len: usize,
},
ItemWritten,
}Expand description
What the core has for its driver.
One request outstanding at a time, answered with
report_written (ADR-041 § 4).
Variants§
Output
Write output_src — len bytes — then report how many the
sink accepted. Fewer is normal; 0 is never progress.
ItemWritten
Every byte of the submitted item is written. The borrowed payloads are released: the core holds no pointer into them from here on (ADR-041 § 3).
Trait Implementations§
impl Copy for WriteStep
impl Eq for WriteStep
impl StructuralPartialEq for WriteStep
Auto Trait Implementations§
impl Freeze for WriteStep
impl RefUnwindSafe for WriteStep
impl Send for WriteStep
impl Sync for WriteStep
impl Unpin for WriteStep
impl UnsafeUnpin for WriteStep
impl UnwindSafe for WriteStep
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