pub trait InventoryTrait {
// Required method
fn list<'async_trait>( ) -> Pin<Box<dyn Future<Output = Vec<InventoryItem>> + Send + 'async_trait>>;
}
Required Methods§
fn list<'async_trait>() -> Pin<Box<dyn Future<Output = Vec<InventoryItem>> + Send + 'async_trait>>
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.