pub trait Retry: Sized {
type Failure;
type Owner: Close<State = Self>;
// Required method
fn recover(self) -> Rejected<Self::Owner, Self::Failure>;
}Expand description
Returns the exact failure and its live owner before another cleanup attempt.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".