pub trait RTExposeSecret<'secret, T> {
type Error: core::fmt::Display + core::fmt::Debug;
type Exposed<'brand>
where
'secret: 'brand;
fn expose_secret<ReturnType, ClosureType>(&self, scope: ClosureType) -> ReturnType
where
for<'brand> ClosureType: FnOnce(Self::Exposed<'brand>) -> ReturnType;
fn try_expose_secret<ReturnType, ClosureType>(
&self,
scope: ClosureType,
) -> Result<ReturnType, Self::Error>
where
for<'brand> ClosureType: FnOnce(Self::Exposed<'brand>) -> ReturnType;
}