pub struct Sync<S> { /* private fields */ }
Expand description
Sync data to the disk.
Implementations§
Trait Implementations§
Source§impl<S: AsRawFd> OpCode for Sync<S>
impl<S: AsRawFd> OpCode for Sync<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.Auto Trait Implementations§
impl<S> Freeze for Sync<S>
impl<S> RefUnwindSafe for Sync<S>
impl<S> Send for Sync<S>
impl<S> Sync for Sync<S>
impl<S> Unpin for Sync<S>
impl<S> UnwindSafe for Sync<S>
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