pub struct FnRedactor<F: Fn(&str, &str) -> bool + Send + Sync>(/* private fields */);Expand description
Redacts whatever a closure objects to.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<F> Forget for FnRedactor<F>
impl<F> Freeze for FnRedactor<F>where
F: Freeze,
impl<F> Move for FnRedactor<F>
impl<F> RefUnwindSafe for FnRedactor<F>where
F: RefUnwindSafe,
impl<F> Send for FnRedactor<F>
impl<F> Sync for FnRedactor<F>
impl<F> Unpin for FnRedactor<F>where
F: Unpin,
impl<F> UnsafeUnpin for FnRedactor<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for FnRedactor<F>where
F: UnwindSafe,
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