pub trait AsyncDrop {
// Required method
fn async_drop<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait;
}
Expand description
Called when an Arcy
is destroyed.
pub trait AsyncDrop {
// Required method
fn async_drop<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait;
}
Called when an Arcy
is destroyed.