[][src]Struct rio::Rio

pub struct Rio { /* fields omitted */ }

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]

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]

pub fn write(
    &mut self,
    file: &File,
    iov: &IoSlice,
    at: u64
) -> Result<Completion<Result<()>>>
[src]

pub fn write_ordered(
    &mut self,
    file: &File,
    iov: &IoSlice,
    at: u64,
    ordering: Ordering
) -> Result<Completion<Result<()>>>
[src]

pub fn read(
    &mut self,
    file: &File,
    iov: &mut IoSliceMut,
    at: u64
) -> Result<Completion<Result<()>>>
[src]

pub fn read_ordered(
    &mut self,
    file: &File,
    iov: &mut IoSliceMut,
    at: u64,
    ordering: Ordering
) -> Result<Completion<Result<()>>>
[src]

pub fn submit_all(&mut self) -> Result<()>[src]

Trait Implementations

impl Debug for Uring[src]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.