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

SyncWatchedMeta is like WatchedMeta, however allows you to create a trigger which may be sent to other threads.

When this trigger is invoked, watch functions in the single-threaded watch context will be re-run.

Implementations

Create a new AtomicWatchedMeta

When run in a function designed to watch a value, will bind so that function will be re-run when a trigger associated with this AtomicWatchedMeta is invoked.

Create a trigger for this AtomicWatchedMeta which may be sent to another thread.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. 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

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.