pub struct IdentitySanitizer;Expand description
Passthrough implementation that applies no sanitization.
Used in tests and contexts where a real sanitizer is not available.
Trait Implementations§
Source§impl OutputSanitizer for IdentitySanitizer
impl OutputSanitizer for IdentitySanitizer
Source§fn sanitize_task_output(&self, text: &str) -> String
fn sanitize_task_output(&self, text: &str) -> String
Sanitize a raw task output string and return the safe version.
Auto Trait Implementations§
impl Freeze for IdentitySanitizer
impl RefUnwindSafe for IdentitySanitizer
impl Send for IdentitySanitizer
impl Sync for IdentitySanitizer
impl Unpin for IdentitySanitizer
impl UnsafeUnpin for IdentitySanitizer
impl UnwindSafe for IdentitySanitizer
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