pub struct OncePerValueState { /* private fields */ }Expand description
State for logging once per unique value.
Uses hash-based deduplication, so values must implement Hash.
Note: Memory grows with each unique value seen.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for OncePerValueState
impl !RefUnwindSafe for OncePerValueState
impl Send for OncePerValueState
impl Sync for OncePerValueState
impl Unpin for OncePerValueState
impl UnwindSafe for OncePerValueState
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