pub struct StreamingRedactor<'a> { /* private fields */ }Expand description
Chunk-safe redaction state for one byte stream.
The stream withholds a possible secret prefix until more input arrives or
StreamingRedactor::finish is called. It intentionally does not implement
Debug: the pending buffer may contain secret bytes.
Implementations§
Trait Implementations§
Source§impl Drop for StreamingRedactor<'_>
impl Drop for StreamingRedactor<'_>
Auto Trait Implementations§
impl<'a> Freeze for StreamingRedactor<'a>
impl<'a> RefUnwindSafe for StreamingRedactor<'a>
impl<'a> Send for StreamingRedactor<'a>
impl<'a> Sync for StreamingRedactor<'a>
impl<'a> Unpin for StreamingRedactor<'a>
impl<'a> UnsafeUnpin for StreamingRedactor<'a>
impl<'a> UnwindSafe for StreamingRedactor<'a>
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