Skip to main content

Cleanup

Trait Cleanup 

Source
pub trait Cleanup: Retry + Failure {
    type Context: Context;
    type Producer: Producer<Context = Self::Context>;

    // Required methods
    fn entries(
        current: <Self::Producer as Close>::State,
        context: Self::Context,
    ) -> Self;
    fn payload(current: <Self::Context as Close>::State) -> Self;
    fn producer(current: <Self::Producer as Close>::State) -> Self;
}
Expand description

Exact native storage states retained until all mappings are released.

Required Associated Types§

Required Methods§

Source

fn entries( current: <Self::Producer as Close>::State, context: Self::Context, ) -> Self

Source

fn payload(current: <Self::Context as Close>::State) -> Self

Source

fn producer(current: <Self::Producer as Close>::State) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§