[][src]Struct libaiofut::AIOManager

pub struct AIOManager<S: AIOSchedulerIn> { /* fields omitted */ }

Manager all AIOs.

Implementations

impl<S: AIOSchedulerIn> AIOManager<S>[src]

pub fn new<T: AIOSchedulerOut + Send + 'static>(
    scheduler: (S, T),
    maxevents: usize,
    max_nops: Option<u16>,
    timeout: Option<u32>
) -> Result<Self, Error>
[src]

pub fn read(
    &mut self,
    fd: RawFd,
    offset: u64,
    length: usize,
    priority: Option<u16>
) -> AIOFuture
[src]

pub fn write(
    &mut self,
    fd: RawFd,
    offset: u64,
    data: Box<[u8]>,
    priority: Option<u16>
) -> AIOFuture
[src]

Trait Implementations

impl<S: AIOSchedulerIn> Drop for AIOManager<S>[src]

Auto Trait Implementations

impl<S> !RefUnwindSafe for AIOManager<S>

impl<S> Send for AIOManager<S> where
    S: Send

impl<S> Sync for AIOManager<S> where
    S: Sync

impl<S> Unpin for AIOManager<S> where
    S: Unpin

impl<S> !UnwindSafe for AIOManager<S>

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.