Skip to main content

Open

Trait Open 

Source
pub trait Open: Failure {
    type Context: Context;

    // Required method
    fn close(self, context: Self::Context) -> <Self::Context as Context>::Error;
}
Expand description

A failed producer allocation that can retire its paired payload owner.

Required Associated Types§

Required Methods§

Source

fn close(self, context: Self::Context) -> <Self::Context as Context>::Error

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§