Struct syndicate::actor::StopOnRetract[][src]

pub struct StopOnRetract;
Expand description

Simple entity that stops its containing facet when any assertion it receives is subsequently retracted.

Trait Implementations

Receive notification of retraction of a previous assertion from a peer. Read more

Receive notification of a new assertion from a peer. Read more

Receive notification of a message from a peer. Read more

Respond to a synchronisation request from a peer. Read more

Optional callback for running actions when the entity’s owning Facet terminates cleanly. Will not be called in case of abnormal shutdown (crash) of an actor. Read more

Optional callback for running cleanup actions when the entity’s animating Actor terminates. 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.

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

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.

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

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