pub struct PolicyEngine { /* private fields */ }Implementations§
Source§impl PolicyEngine
impl PolicyEngine
pub fn new(policies: Vec<PolicyRule>) -> Self
pub fn with_defaults() -> Self
pub fn evaluate(&self, trace: &TraceRecord) -> Vec<PolicyEvaluation>
Auto Trait Implementations§
impl Freeze for PolicyEngine
impl RefUnwindSafe for PolicyEngine
impl Send for PolicyEngine
impl Sync for PolicyEngine
impl Unpin for PolicyEngine
impl UnsafeUnpin for PolicyEngine
impl UnwindSafe for PolicyEngine
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