pub struct SseKey {
pub bytes: [u8; 32],
}Expand description
32-byte symmetric key. bytes is pub so call sites can construct
keys directly from already-validated bytes (e.g. KMS-decrypted DEKs)
without going through the on-disk parser. Hold inside an Arc when
sharing across handler tasks — SseKeyring does this internally.
Fields§
§bytes: [u8; 32]Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SseKey
impl RefUnwindSafe for SseKey
impl Send for SseKey
impl Sync for SseKey
impl Unpin for SseKey
impl UnsafeUnpin for SseKey
impl UnwindSafe for SseKey
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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