pub struct FileStat<S> { /* private fields */ }
Available on Unix only.
Expand description
Get metadata of an opened file.
Implementations§
Trait Implementations§
Source§impl<S: AsRawFd> OpCode for FileStat<S>
impl<S: AsRawFd> OpCode for FileStat<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 FileStat<S>
impl<S> RefUnwindSafe for FileStat<S>
impl<S> Send for FileStat<S>
impl<S> Sync for FileStat<S>
impl<S> Unpin for FileStat<S>
impl<S> UnwindSafe for FileStat<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