pub struct GuardrailEngine { /* private fields */ }Implementations§
Source§impl GuardrailEngine
impl GuardrailEngine
pub fn from_rules(rules: Vec<GuardrailRule>) -> Self
pub fn evaluate_inbound(&self, message: &InboundMessage) -> GuardrailVerdict
pub fn is_empty(&self) -> bool
Auto Trait Implementations§
impl Freeze for GuardrailEngine
impl RefUnwindSafe for GuardrailEngine
impl Send for GuardrailEngine
impl Sync for GuardrailEngine
impl Unpin for GuardrailEngine
impl UnsafeUnpin for GuardrailEngine
impl UnwindSafe for GuardrailEngine
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