pub struct SimpleContextPlanner;Trait Implementations§
Source§impl ContextPlanner for SimpleContextPlanner
impl ContextPlanner for SimpleContextPlanner
fn id(&self) -> String
fn plan<'life0, 'life1, 'async_trait>(
&'life0 self,
_query: &'life1 ContextQuery,
provider_blocks: Vec<ContextBlock>,
) -> Pin<Box<dyn Future<Output = Result<ContextPlan, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
SimpleContextPlanner: 'async_trait,
Auto Trait Implementations§
impl Freeze for SimpleContextPlanner
impl RefUnwindSafe for SimpleContextPlanner
impl Send for SimpleContextPlanner
impl Sync for SimpleContextPlanner
impl Unpin for SimpleContextPlanner
impl UnsafeUnpin for SimpleContextPlanner
impl UnwindSafe for SimpleContextPlanner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more