pub trait PoetLibraryProvider:
Send
+ Sync
+ 'static {
// Required methods
fn stats(&self) -> Result<Value, String>;
fn query(&self, request: &PoetLibraryQueryRequest) -> Result<Value, String>;
fn ingest(
&self,
request: &PoetLibraryIngestRequest,
) -> Result<Value, String>;
}Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".