Skip to main content

Cleanup

Trait Cleanup 

Source
pub trait Cleanup: Retry<Failure: Into<Failure<Self::Error>>> {
    type Error;

    // Required method
    fn failure(&self) -> Failure<Self::Error>;
}
Expand description

Retains every resource needed to retry the exact failed shutdown phase.

Required Associated Types§

Required Methods§

Source

fn failure(&self) -> Failure<Self::Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Cleanup for Infallible

Source§

type Error = !

Source§

fn failure(&self) -> Failure<Self::Error>

Implementors§