pub struct TimeLockKey(/* private fields */);Expand description
A derived 32-byte time-locked key.
The inner bytes are automatically overwritten (ZeroizeOnDrop) the
moment this value is dropped. Access the key via as_bytes.
Implementations§
Trait Implementations§
Source§impl Drop for TimeLockKey
Available on crate features enc-timelock-keygen-now or enc-timelock-keygen-input or enc-timelock-async-keygen-now or enc-timelock-async-keygen-input only.
impl Drop for TimeLockKey
Available on crate features
enc-timelock-keygen-now or enc-timelock-keygen-input or enc-timelock-async-keygen-now or enc-timelock-async-keygen-input only.Source§impl Zeroize for TimeLockKey
Available on crate features enc-timelock-keygen-now or enc-timelock-keygen-input or enc-timelock-async-keygen-now or enc-timelock-async-keygen-input only.
impl Zeroize for TimeLockKey
Available on crate features
enc-timelock-keygen-now or enc-timelock-keygen-input or enc-timelock-async-keygen-now or enc-timelock-async-keygen-input only.impl ZeroizeOnDrop for TimeLockKey
Available on crate features
enc-timelock-keygen-now or enc-timelock-keygen-input or enc-timelock-async-keygen-now or enc-timelock-async-keygen-input only.Auto Trait Implementations§
impl Freeze for TimeLockKey
impl RefUnwindSafe for TimeLockKey
impl Send for TimeLockKey
impl Sync for TimeLockKey
impl Unpin for TimeLockKey
impl UnsafeUnpin for TimeLockKey
impl UnwindSafe for TimeLockKey
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