pub struct ReadHandle<T>(_);
Expand description

A handle to the read half of the cell. Getting a value from the read handle will never block.

Implementations

Gets the value from the cell. Returns None if the WriteHandle as been dropped.

Safety

The user of this function must be sure that the WriteHandle has not been dropped.

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.