[go: up one dir, main page]

Struct loom::sync::Notify[][src]

pub struct Notify { /* fields omitted */ }
Expand description

Implements the park / unpark pattern directly using Loom’s internal primitives.

Notification establishes an acquire / release synchronization point.

Using this type is useful to mock out constructs when using loom tests.

Implementations

Create a new Notify.

Notify the watier

Wait for a notification

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.