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
Retry(Box<dyn RetryStrategy>)Tuple Fields of Retry
0: Box<dyn RetryStrategy>