pub struct DropFailedToolResultsStrategy { /* private fields */ }Implementations§
Source§impl DropFailedToolResultsStrategy
impl DropFailedToolResultsStrategy
pub fn new() -> Self
pub fn drop_empty_items(self, value: bool) -> Self
Trait Implementations§
Source§impl Clone for DropFailedToolResultsStrategy
impl Clone for DropFailedToolResultsStrategy
Source§fn clone(&self) -> DropFailedToolResultsStrategy
fn clone(&self) -> DropFailedToolResultsStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CompactionStrategy for DropFailedToolResultsStrategy
impl CompactionStrategy for DropFailedToolResultsStrategy
fn apply<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
request: CompactionRequest,
_ctx: &'life1 mut CompactionContext<'life2>,
) -> Pin<Box<dyn Future<Output = Result<CompactionResult, CompactionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§impl Default for DropFailedToolResultsStrategy
impl Default for DropFailedToolResultsStrategy
Source§fn default() -> DropFailedToolResultsStrategy
fn default() -> DropFailedToolResultsStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DropFailedToolResultsStrategy
impl<'de> Deserialize<'de> for DropFailedToolResultsStrategy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DropFailedToolResultsStrategy
impl PartialEq for DropFailedToolResultsStrategy
Source§fn eq(&self, other: &DropFailedToolResultsStrategy) -> bool
fn eq(&self, other: &DropFailedToolResultsStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DropFailedToolResultsStrategy
impl StructuralPartialEq for DropFailedToolResultsStrategy
Auto Trait Implementations§
impl Freeze for DropFailedToolResultsStrategy
impl RefUnwindSafe for DropFailedToolResultsStrategy
impl Send for DropFailedToolResultsStrategy
impl Sync for DropFailedToolResultsStrategy
impl Unpin for DropFailedToolResultsStrategy
impl UnsafeUnpin for DropFailedToolResultsStrategy
impl UnwindSafe for DropFailedToolResultsStrategy
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