pub struct ToolOutputBudgetPluginFactory { /* private fields */ }Implementations§
Source§impl ToolOutputBudgetPluginFactory
impl ToolOutputBudgetPluginFactory
pub fn new(config: ToolOutputBudgetConfig) -> ToolOutputBudgetPluginFactory
Trait Implementations§
Source§impl Default for ToolOutputBudgetPluginFactory
impl Default for ToolOutputBudgetPluginFactory
Source§fn default() -> ToolOutputBudgetPluginFactory
fn default() -> ToolOutputBudgetPluginFactory
Returns the “default value” for a type. Read more
Source§impl PluginFactory for ToolOutputBudgetPluginFactory
impl PluginFactory for ToolOutputBudgetPluginFactory
fn id(&self) -> &'static str
Source§fn build(
&self,
_ctx: &PluginSessionContext,
) -> Result<Arc<dyn SessionPlugin>, PluginError>
fn build( &self, _ctx: &PluginSessionContext, ) -> Result<Arc<dyn SessionPlugin>, PluginError>
Produce a session-scoped plugin. Must be cheap — see the
trait-level docs for the full contract.
fn extension_contributions(&self) -> Vec<PluginExtensionContribution>
Auto Trait Implementations§
impl Freeze for ToolOutputBudgetPluginFactory
impl RefUnwindSafe for ToolOutputBudgetPluginFactory
impl Send for ToolOutputBudgetPluginFactory
impl Sync for ToolOutputBudgetPluginFactory
impl Unpin for ToolOutputBudgetPluginFactory
impl UnsafeUnpin for ToolOutputBudgetPluginFactory
impl UnwindSafe for ToolOutputBudgetPluginFactory
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