Enum tiny_tokio_actor::SupervisionStrategy[][src]

pub enum SupervisionStrategy {
    Stop,
    Retry(Box<dyn RetryStrategy>),
}
Expand description

A SupervisionStrategy defined what to do when an actor fails at startup. Currently there are two choices: Stop the actor and do nothing, or Retry the startup. For Retry you can set a RetryStrategy.

Variants

Stop
Retry(Box<dyn RetryStrategy>)

Tuple Fields of Retry

0: Box<dyn RetryStrategy>

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.