pub struct Descriptor(Arc<SafeDescriptor>);
Expand description

An async version of SafeDescriptor.

Tuple Fields

0: Arc<SafeDescriptor>

Implementations

Creates a new AsyncDescriptor in a nonblocking state.

Waits for self to become readable. This function is edge-triggered rather than level-triggered so callers should make sure that the underlying descriptor has been fully drained before calling this method.

Waits for self to become writable. This function is edge-triggered rather than level-triggered so callers should make sure that the underlying descriptor is actually full before calling this method.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.