[][src]Struct aiofut::AIOBuilder

pub struct AIOBuilder { /* fields omitted */ }

Implementations

impl AIOBuilder[src]

pub fn max_events(&mut self, v: u32) -> &mut Self[src]

Maximum concurrent async IO operations.

pub fn max_nwait(&mut self, v: u16) -> &mut Self[src]

Maximum complete IOs per poll.

pub fn max_nbatched(&mut self, v: usize) -> &mut Self[src]

Maximum number of IOs per submission.

pub fn timeout(&mut self, sec: u32) -> &mut Self[src]

Timeout for a polling iteration (default is None).

pub fn build(&mut self) -> Result<AIOManager, Error>[src]

Build an AIOManager object based on the configuration (and auto-start the background IO scheduling thread).

Trait Implementations

impl Default for AIOBuilder[src]

Auto Trait Implementations

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.