pub struct WriteAt<T: IoBuf, S> { /* private fields */ }
Expand description
Write a file at specified position from specified buffer.
Implementations§
Trait Implementations§
Source§impl<T: IoBuf, S: AsRawFd> OpCode for WriteAt<T, S>
impl<T: IoBuf, S: AsRawFd> OpCode for WriteAt<T, S>
Source§fn pre_submit(self: Pin<&mut Self>) -> Result<Decision>
fn pre_submit(self: Pin<&mut Self>) -> Result<Decision>
Perform the operation before submit, and return
Decision
to
indicate whether submitting the operation to polling is required.Source§impl<T: IoBuf, S: AsRawFd> OpCode for WriteAt<T, S>
impl<T: IoBuf, S: AsRawFd> OpCode for WriteAt<T, S>
Source§fn create_entry(self: Pin<&mut Self>) -> OpEntry
fn create_entry(self: Pin<&mut Self>) -> OpEntry
Create submission entry.
Source§fn call_blocking(self: Pin<&mut Self>) -> Result<usize>
fn call_blocking(self: Pin<&mut Self>) -> Result<usize>
Call the operation in a blocking way. This method will only be called if
[
create_entry
] returns OpEntry::Blocking
.Auto Trait Implementations§
impl<T, S> Freeze for WriteAt<T, S>where
T: Freeze,
impl<T, S> RefUnwindSafe for WriteAt<T, S>where
T: RefUnwindSafe,
impl<T, S> Send for WriteAt<T, S>
impl<T, S> Sync for WriteAt<T, S>
impl<T, S> !Unpin for WriteAt<T, S>
impl<T, S> UnwindSafe for WriteAt<T, S>where
T: 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