pub struct JweEncryptor<C, K> { /* private fields */ }Implementations§
Source§impl<C, K> JweEncryptor<C, K>
impl<C, K> JweEncryptor<C, K>
Source§impl<K> JweEncryptor<Unset, K>
impl<K> JweEncryptor<Unset, K>
pub fn plaintext(self, plaintext: &[u8]) -> JweEncryptor<Set, K>
pub fn plaintext_str(self, plaintext: impl AsRef<str>) -> JweEncryptor<Set, K>
Source§impl<C> JweEncryptor<C, Unset>
impl<C> JweEncryptor<C, Unset>
pub fn kid(self, kid: impl Into<String>) -> JweEncryptor<C, Set>
Trait Implementations§
Auto Trait Implementations§
impl<C, K> !Freeze for JweEncryptor<C, K>
impl<C, K> RefUnwindSafe for JweEncryptor<C, K>where
C: RefUnwindSafe,
K: RefUnwindSafe,
impl<C, K> Send for JweEncryptor<C, K>
impl<C, K> Sync for JweEncryptor<C, K>
impl<C, K> Unpin for JweEncryptor<C, K>
impl<C, K> UnwindSafe for JweEncryptor<C, K>where
C: UnwindSafe,
K: UnwindSafe,
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