[−][src]Struct rio::Rio
Nice bindings for the shiny new linux IO system
Methods
impl Uring
[src]
pub fn new(depth: usize) -> Result<Uring>
[src]
pub fn fsync(&mut self, file: &File) -> Result<Completion<Result<()>>>
[src]
pub fn fsync_ordered(
&mut self,
file: &File,
ordering: Ordering
) -> Result<Completion<Result<()>>>
[src]
&mut self,
file: &File,
ordering: Ordering
) -> Result<Completion<Result<()>>>
pub fn fdatasync(&mut self, file: &File) -> Result<Completion<Result<()>>>
[src]
pub fn fdatasync_ordered(
&mut self,
file: &File,
ordering: Ordering
) -> Result<Completion<Result<()>>>
[src]
&mut self,
file: &File,
ordering: Ordering
) -> Result<Completion<Result<()>>>
pub fn write(
&mut self,
file: &File,
iov: &IoSlice,
at: u64
) -> Result<Completion<Result<()>>>
[src]
&mut self,
file: &File,
iov: &IoSlice,
at: u64
) -> Result<Completion<Result<()>>>
pub fn write_ordered(
&mut self,
file: &File,
iov: &IoSlice,
at: u64,
ordering: Ordering
) -> Result<Completion<Result<()>>>
[src]
&mut self,
file: &File,
iov: &IoSlice,
at: u64,
ordering: Ordering
) -> Result<Completion<Result<()>>>
pub fn read(
&mut self,
file: &File,
iov: &mut IoSliceMut,
at: u64
) -> Result<Completion<Result<()>>>
[src]
&mut self,
file: &File,
iov: &mut IoSliceMut,
at: u64
) -> Result<Completion<Result<()>>>
pub fn read_ordered(
&mut self,
file: &File,
iov: &mut IoSliceMut,
at: u64,
ordering: Ordering
) -> Result<Completion<Result<()>>>
[src]
&mut self,
file: &File,
iov: &mut IoSliceMut,
at: u64,
ordering: Ordering
) -> Result<Completion<Result<()>>>
pub fn submit_all(&mut self) -> Result<()>
[src]
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Uring
impl !Send for Uring
impl !Sync for Uring
impl Unpin for Uring
impl !UnwindSafe for Uring
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,