pub struct TracingPolicyObserver;Expand description
Observer that emits decisions to the tracing system.
Trait Implementations§
Source§impl Default for TracingPolicyObserver
impl Default for TracingPolicyObserver
Source§fn default() -> TracingPolicyObserver
fn default() -> TracingPolicyObserver
Returns the “default value” for a type. Read more
Source§impl PolicyObserver for TracingPolicyObserver
impl PolicyObserver for TracingPolicyObserver
Source§fn on_decision(
&self,
request: &PolicyRequest,
decision: &PolicyDecision,
subject: &str,
)
fn on_decision( &self, request: &PolicyRequest, decision: &PolicyDecision, subject: &str, )
Records the decision emitted for the supplied request subject.
Auto Trait Implementations§
impl Freeze for TracingPolicyObserver
impl RefUnwindSafe for TracingPolicyObserver
impl Send for TracingPolicyObserver
impl Sync for TracingPolicyObserver
impl Unpin for TracingPolicyObserver
impl UnwindSafe for TracingPolicyObserver
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