Skip to main content

Storage

Trait Storage 

Source
pub trait Storage<C, P: Copy, R: Copy>: Removal {
    type Cleanup: Cleanup<P>;
    type Release: Cleanup<(R, Self::Slot)>;
}
Expand description

Selects retained construction and fixed-file removal owners for one host.

Required Associated Types§

Source

type Cleanup: Cleanup<P>

Source

type Release: Cleanup<(R, Self::Slot)>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§