pub struct SensitiveDntSink<P>where
P: DntKeyProvider,{ /* private fields */ }Expand description
Encrypted DNT sink. It has no plaintext fallback and must be explicitly wired.
Implementations§
Source§impl<P> SensitiveDntSink<P>where
P: DntKeyProvider,
impl<P> SensitiveDntSink<P>where
P: DntKeyProvider,
Sourcepub fn new(
config: SensitiveDntSinkConfig,
key_provider: P,
) -> Result<SensitiveDntSink<P>, LogError>
pub fn new( config: SensitiveDntSinkConfig, key_provider: P, ) -> Result<SensitiveDntSink<P>, LogError>
Creates the sink; enabling it is an explicit sensitive-logging decision.
Trait Implementations§
Source§impl<P> LogSink for SensitiveDntSink<P>where
P: DntKeyProvider,
impl<P> LogSink for SensitiveDntSink<P>where
P: DntKeyProvider,
Auto Trait Implementations§
impl<P> !Freeze for SensitiveDntSink<P>
impl<P> !RefUnwindSafe for SensitiveDntSink<P>
impl<P> Send for SensitiveDntSink<P>
impl<P> Sync for SensitiveDntSink<P>
impl<P> Unpin for SensitiveDntSink<P>where
P: Unpin,
impl<P> UnsafeUnpin for SensitiveDntSink<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for SensitiveDntSink<P>where
P: 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