Trait Attach

Source
pub trait Attach<Store> {
    type Hdr<'a>
       where Store: 'a;

    // Required method
    unsafe fn attach(self, store: &mut Store) -> Self::Hdr<'_>;
}

Required Associated Types§

Source

type Hdr<'a> where Store: 'a

Required Methods§

Source

unsafe fn attach(self, store: &mut Store) -> Self::Hdr<'_>

§Safety

The caller must make sure the attached map has the data of current state.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§