pub enum AnomalyResponse {
Normal,
Flagged {
reason: String,
},
Denied {
reason: String,
},
}Expand description
The result of anomaly detection on a tool call.
Variants§
Normal
No anomaly detected.
Flagged
Anomaly detected but request proceeds (soft flag).
Denied
Anomaly detected and request should be denied (hard block).
Trait Implementations§
Source§impl Clone for AnomalyResponse
impl Clone for AnomalyResponse
Source§fn clone(&self) -> AnomalyResponse
fn clone(&self) -> AnomalyResponse
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 Debug for AnomalyResponse
impl Debug for AnomalyResponse
Source§impl PartialEq for AnomalyResponse
impl PartialEq for AnomalyResponse
impl Eq for AnomalyResponse
impl StructuralPartialEq for AnomalyResponse
Auto Trait Implementations§
impl Freeze for AnomalyResponse
impl RefUnwindSafe for AnomalyResponse
impl Send for AnomalyResponse
impl Sync for AnomalyResponse
impl Unpin for AnomalyResponse
impl UnsafeUnpin for AnomalyResponse
impl UnwindSafe for AnomalyResponse
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