pub struct StdinState {
pub bytes_written: u64,
pub closed: bool,
}Expand description
Stdin acceptance state, the anchor for offset-resumable writes.
Fields§
§bytes_written: u64Bytes accepted and forwarded so far — the offset at which the next write must start.
closed: boolWhether stdin has been closed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StdinState
impl RefUnwindSafe for StdinState
impl Send for StdinState
impl Sync for StdinState
impl Unpin for StdinState
impl UnsafeUnpin for StdinState
impl UnwindSafe for StdinState
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