Skip to main content

HostStore

Trait HostStore 

pub trait HostStore: Send {
    // Required method
    fn drop(
        &mut self,
        rep: Resource<Store>,
    ) -> impl Future<Output = Result<(), Error>> + Send;
}

Required Methods§

fn drop( &mut self, rep: Resource<Store>, ) -> impl Future<Output = Result<(), Error>> + Send

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.

Implementations on Foreign Types§

§

impl<_T> HostStore for &mut _T
where _T: HostStore + Send + ?Sized,

§

async fn drop(&mut self, rep: Resource<Store>) -> Result<(), Error>

Implementors§