Struct rillrate::WayLink[][src]

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

The link to control the Way actor.

This link produced automatically when the Way actor is spawned in the System, but it also can be produced from any Address of the Way actor.

Implementations

Installs the assets as the app.

When the app is added the actors automatically creates all necessary routes for the app.

Set a layout as the global (default) layout.

Use it to set the main layout of your app.

Methods from Deref<Target = Address<Way>>

Returns a typed id of the Actor.

Just sends an Action to the Actor.

Just sends an Action to the Actor.

Just sends an Action to the Actor.

Send a Parcel to unpacking.

Send Handler as an event

Interacts with an Actor and waits for the result of the Interaction.

ActionHandler required instead of InteractionHandler to make it possible to work with both types of handler, because ActionHandler can be used for long running interaction and prevent blocking of the actor’s routine.

To avoid blocking you shouldn’t await the result of this Interaction, but create a Future and await in a separate coroutine of in a LiteTask.

Waits when the Actor will be terminated.

It consumes address, because it useless after termination. Also it prevents blocking queue if Actor uses it to detect the right time for termination.

Send termination signal to the actor through the normal priority queue.

Attaches a Stream of event to an Actor. Optimized for intensive streams. For moderate flow you still can use ordinary Actions and act method calls.

It spawns a routine that groups multiple items into a single chunk to reduce amount as async calls of a handler.

Returns a Link to an Actor. Link is a convenient concept for creating wrappers for Address that provides methods instead of using message types directly. It allows also to use private message types opaquely.

Returns an ActionRecipient instance.

Returns an InteractionRecipient instance.

Assing a hook to an actor.

Trait Implementations

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Performs the conversion.

Performs the conversion.

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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Convert self to an optional value of a Properties struct.

Convert self to a value of a Properties struct.

Convert self to a value of a Properties struct.

Should always be Self

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more