Trait MailboxProvider
Source pub trait MailboxProvider {
type Error: Error;
// Required methods
fn query<'life0, 'async_trait>(
&'life0 mut self,
query: QueryParameters,
) -> Pin<Box<dyn Future<Output = Result<QueryResult, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn tool_call<'life0, 'async_trait>(
&'life0 mut self,
request: ToolCallRequest,
) -> Pin<Box<dyn Future<Output = Result<ToolCallResponse, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}