pub struct RedactedKeyedMapSession<'map, 'session, 'policy, M: ?Sized, K: ?Sized = String, V: ?Sized = String> { /* private fields */ }Expand description
A nested keyed-map view that reuses an existing diagnostic session.
Implementations§
Source§impl<'map, 'session, 'policy, M: ?Sized, K: ?Sized, V: ?Sized> RedactedKeyedMapSession<'map, 'session, 'policy, M, K, V>
impl<'map, 'session, 'policy, M: ?Sized, K: ?Sized, V: ?Sized> RedactedKeyedMapSession<'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 keyed-map view using an existing diagnostic session.
Trait Implementations§
Source§impl<M: ?Sized, K: AsRef<str> + Debug + ?Sized, V: Redact + RedactValue + ?Sized> Debug for RedactedKeyedMapSession<'_, '_, '_, M, K, V>
impl<M: ?Sized, K: AsRef<str> + Debug + ?Sized, V: Redact + RedactValue + ?Sized> Debug for RedactedKeyedMapSession<'_, '_, '_, M, K, V>
Auto Trait Implementations§
impl<'map, 'session, 'policy, M, K = String, V = String> !RefUnwindSafe for RedactedKeyedMapSession<'map, 'session, 'policy, M, K, V>
impl<'map, 'session, 'policy, M, K = String, V = String> !Send for RedactedKeyedMapSession<'map, 'session, 'policy, M, K, V>
impl<'map, 'session, 'policy, M, K = String, V = String> !Sync for RedactedKeyedMapSession<'map, 'session, 'policy, M, K, V>
impl<'map, 'session, 'policy, M, K = String, V = String> !UnwindSafe for RedactedKeyedMapSession<'map, 'session, 'policy, M, K, V>
impl<'map, 'session, 'policy, M, K, V> Freeze for RedactedKeyedMapSession<'map, 'session, 'policy, M, K, V>
impl<'map, 'session, 'policy, M, K, V> Unpin for RedactedKeyedMapSession<'map, 'session, 'policy, M, K, V>
impl<'map, 'session, 'policy, M, K, V> UnsafeUnpin for RedactedKeyedMapSession<'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