pub struct FactorSealer { /* private fields */ }Expand description
The key that seals one-time code secrets, or none.
Implementations§
Source§impl FactorSealer
impl FactorSealer
Sourcepub fn open(&self, context: &str, sealed: &str) -> Result<String, SealError>
pub fn open(&self, context: &str, sealed: &str) -> Result<String, SealError>
What sealed holds for context.
§Errors
SealError::NoKey without a key; SealError::Unreadable when it does not open.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FactorSealer
impl RefUnwindSafe for FactorSealer
impl Send for FactorSealer
impl Sync for FactorSealer
impl Unpin for FactorSealer
impl UnsafeUnpin for FactorSealer
impl UnwindSafe for FactorSealer
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.