pub struct FileKey(_);Expand description
A file key for encrypting or decrypting an age file.
Trait Implementations
sourceimpl ExposeSecret<[u8; 16]> for FileKey
 
impl ExposeSecret<[u8; 16]> for FileKey
sourcefn expose_secret(&self) -> &[u8; 16]
 
fn expose_secret(&self) -> &[u8; 16]
Expose secret: this is the only method providing access to a secret.
Auto Trait Implementations
impl RefUnwindSafe for FileKey
impl Send for FileKey
impl Sync for FileKey
impl Unpin for FileKey
impl UnwindSafe for FileKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more