Struct nix::sys::aio::LioCbBuilder[][src]

pub struct LioCbBuilder<'a> {
    pub aiocbs: Vec<AioCb<'a>>,
}
Expand description

Used to construct LioCb

Fields

aiocbs: Vec<AioCb<'a>>

A collection of AioCbs.

Implementations

Initialize an empty LioCb

Add a new operation on an immutable slice to the LioCb under construction.

Arguments are the same as for AioCb::from_slice

Add a new operation on a mutable slice to the LioCb under construction.

Arguments are the same as for AioCb::from_mut_slice

Finalize this LioCb.

Afterwards it will be possible to issue the operations with LioCb::listio. Conversely, it will no longer be possible to add new operations with LioCbBuilder::emplace_slice or LioCbBuilder::emplace_mut_slice.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.