pub struct Marker<T, B> { /* private fields */ }
Expand description

Marker struct useful to propagate bounds through the Supervisor generic

Implementations

Create new marker wrapper

Trait Implementations

The channel Event type

The sender half of the channel

The receiver half of the channel

Metric Collector

Create a sender and receiver of the appropriate types

Get this channel’s name

Implement how to build the channel for the corresponding actor

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Send shutdown signal to the corresponding actor

Return the corresponding actor’s scope_id

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

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.