pub struct StaticKeyProvider<const N: usize> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<const N: usize> Default for StaticKeyProvider<N>
impl<const N: usize> Default for StaticKeyProvider<N>
Source§impl<const N: usize> KeyProvider for StaticKeyProvider<N>
impl<const N: usize> KeyProvider for StaticKeyProvider<N>
fn get_key(&self, context: &KeyContext) -> Result<&[u8], DecryptionError>
Auto Trait Implementations§
impl<const N: usize> Freeze for StaticKeyProvider<N>
impl<const N: usize> RefUnwindSafe for StaticKeyProvider<N>
impl<const N: usize> Send for StaticKeyProvider<N>
impl<const N: usize> Sync for StaticKeyProvider<N>
impl<const N: usize> Unpin for StaticKeyProvider<N>
impl<const N: usize> UnsafeUnpin for StaticKeyProvider<N>
impl<const N: usize> UnwindSafe for StaticKeyProvider<N>
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