pub struct RedactedMapSession<'map, 'session, 'policy, M: ?Sized, K: ?Sized = String, V: ?Sized = String> { /* private fields */ }Expand description
A nested map view that reuses one diagnostic session.
Implementations§
Source§impl<'map, 'session, 'policy, M: ?Sized, K: ?Sized, V: ?Sized> RedactedMapSession<'map, 'session, 'policy, M, K, V>
impl<'map, 'session, 'policy, M: ?Sized, K: ?Sized, V: ?Sized> RedactedMapSession<'map, 'session, 'policy, M, K, V>
Sourcepub fn new(map: &'map M, session: &'session RedactionSession<'policy>) -> Self
pub fn new(map: &'map M, session: &'session RedactionSession<'policy>) -> Self
Creates a nested map view using an existing diagnostic session.
Trait Implementations§
Source§impl<M: RedactMapValue<K, V> + ?Sized, K: ?Sized, V: ?Sized> Debug for RedactedMapSession<'_, '_, '_, M, K, V>
impl<M: RedactMapValue<K, V> + ?Sized, K: ?Sized, V: ?Sized> Debug for RedactedMapSession<'_, '_, '_, M, K, V>
Auto Trait Implementations§
impl<'map, 'session, 'policy, M, K = String, V = String> !RefUnwindSafe for RedactedMapSession<'map, 'session, 'policy, M, K, V>
impl<'map, 'session, 'policy, M, K = String, V = String> !Send for RedactedMapSession<'map, 'session, 'policy, M, K, V>
impl<'map, 'session, 'policy, M, K = String, V = String> !Sync for RedactedMapSession<'map, 'session, 'policy, M, K, V>
impl<'map, 'session, 'policy, M, K = String, V = String> !UnwindSafe for RedactedMapSession<'map, 'session, 'policy, M, K, V>
impl<'map, 'session, 'policy, M, K, V> Freeze for RedactedMapSession<'map, 'session, 'policy, M, K, V>
impl<'map, 'session, 'policy, M, K, V> Unpin for RedactedMapSession<'map, 'session, 'policy, M, K, V>
impl<'map, 'session, 'policy, M, K, V> UnsafeUnpin for RedactedMapSession<'map, 'session, 'policy, M, K, V>
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