pub struct NoOpSecurityProvider;Expand description
No-op security provider (default when security is disabled)
Trait Implementations§
Source§impl SecurityProvider for NoOpSecurityProvider
impl SecurityProvider for NoOpSecurityProvider
Source§fn taint_input(&self, _text: &str)
fn taint_input(&self, _text: &str)
Classify and register sensitive data found in input text
Source§fn sanitize_output(&self, text: &str) -> String
fn sanitize_output(&self, text: &str) -> String
Sanitize output text by redacting sensitive data.
Returns the sanitized text.
Source§fn register_hooks(&self, _hook_engine: &HookEngine)
fn register_hooks(&self, _hook_engine: &HookEngine)
Register security hooks with the given engine
Source§fn teardown(&self, _hook_engine: &HookEngine)
fn teardown(&self, _hook_engine: &HookEngine)
Unregister all hooks from the engine
Auto Trait Implementations§
impl Freeze for NoOpSecurityProvider
impl RefUnwindSafe for NoOpSecurityProvider
impl Send for NoOpSecurityProvider
impl Sync for NoOpSecurityProvider
impl Unpin for NoOpSecurityProvider
impl UnsafeUnpin for NoOpSecurityProvider
impl UnwindSafe for NoOpSecurityProvider
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