pub struct DetectionService { /* private fields */ }Expand description
Main detection service that coordinates all detection components
Implementations§
Source§impl DetectionService
impl DetectionService
Sourcepub async fn detect(&self, input: &PromptInput) -> Result<DetectionResult>
pub async fn detect(&self, input: &PromptInput) -> Result<DetectionResult>
Process a prompt input through all detection layers
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DetectionService
impl !UnwindSafe for DetectionService
impl Freeze for DetectionService
impl Send for DetectionService
impl Sync for DetectionService
impl Unpin for DetectionService
impl UnsafeUnpin for DetectionService
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