pub struct PromptInjectionEchoSafety;Trait Implementations§
Source§impl Check for PromptInjectionEchoSafety
impl Check for PromptInjectionEchoSafety
Source§fn category(&self) -> CheckCategory
fn category(&self) -> CheckCategory
Category of this check.
Source§fn run<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 mut CheckContext,
) -> Pin<Box<dyn Future<Output = Vec<CheckResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn run<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 mut CheckContext,
) -> Pin<Box<dyn Future<Output = Vec<CheckResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Run the check. May return multiple findings.
Auto Trait Implementations§
impl Freeze for PromptInjectionEchoSafety
impl RefUnwindSafe for PromptInjectionEchoSafety
impl Send for PromptInjectionEchoSafety
impl Sync for PromptInjectionEchoSafety
impl Unpin for PromptInjectionEchoSafety
impl UnsafeUnpin for PromptInjectionEchoSafety
impl UnwindSafe for PromptInjectionEchoSafety
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