Enum smolscale::OnError [−][src]
Expand description
The strategy used to recover from errors that a task returns.
Variants
Implementations
Creates an error strategy based on the given closure. Convenience wrapper over OnError::Custom
that boxes the closure for you.
Creates an error strategy that runs the given closure and ignores the error.
Auto Trait Implementations
impl !RefUnwindSafe for OnError
impl !UnwindSafe for OnError