pub struct NoopRawMutex { /* private fields */ }
Expand description

A mutex that allows borrowing data in the context of a single executor.

Safety

This Mutex is only safe within a single executor.

Implementations

Create a new NoopRawMutex.

Trait Implementations

Create a new RawMutex instance. Read more
Lock this RawMutex.

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.