struct Inner {
state: State,
last_write_err: Option<ErrorKind>,
pos: u64,
}Fields§
§state: State§last_write_err: Option<ErrorKind>Errors from writes/flushes are returned in write/flush calls. If a write error is observed while performing a read, it is saved until the next write / flush call.
pos: u64Implementations§
Source§impl Inner
impl Inner
fn poll_read_inner( std: Arc<StdFile>, buf: Buf, max_buf_size: usize, ) -> Result<JoinHandle<(Operation, Buf)>>
fn spawn_blocking_read( buf: Buf, std: Arc<StdFile>, max_buf_size: usize, ) -> JoinHandle<(Operation, Buf)> ⓘ
async fn complete_inflight(&mut self)
fn poll_complete_inflight(&mut self, cx: &mut Context<'_>) -> Poll<()>
fn poll_flush(&mut self, cx: &mut Context<'_>) -> Poll<Result<(), Error>>
Auto Trait Implementations§
impl Freeze for Inner
impl RefUnwindSafe for Inner
impl Send for Inner
impl Sync for Inner
impl Unpin for Inner
impl UnsafeUnpin for Inner
impl UnwindSafe for Inner
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