Struct shielded::UnShielded
source · pub struct UnShielded<'a> { /* private fields */ }
Expand description
UnShielded memory containing decrypted contents of what previously was
encrypted. After UnShielded
goes out of scope or is dropped, the
Shielded
is reinitialized with new cryptographic keys and the contents are
encrypted again.
Trait Implementations§
source§impl<'a> AsMut<[u8]> for UnShielded<'a>
impl<'a> AsMut<[u8]> for UnShielded<'a>
source§impl<'a> AsRef<[u8]> for UnShielded<'a>
impl<'a> AsRef<[u8]> for UnShielded<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for UnShielded<'a>
impl<'a> Send for UnShielded<'a>
impl<'a> Sync for UnShielded<'a>
impl<'a> Unpin for UnShielded<'a>
impl<'a> !UnwindSafe for UnShielded<'a>
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