Struct jwt_compact::alg::Hs384Signature
source · pub struct Hs384Signature(/* private fields */);
Expand description
Signature produced by the Hs384
algorithm.
Trait Implementations§
source§impl AlgorithmSignature for Hs384Signature
impl AlgorithmSignature for Hs384Signature
source§const LENGTH: Option<NonZeroUsize> = _
const LENGTH: Option<NonZeroUsize> = _
source§fn try_from_slice(bytes: &[u8]) -> Result<Self>
fn try_from_slice(bytes: &[u8]) -> Result<Self>
Attempts to restore a signature from a byte slice. This method may fail
if the slice is malformed.
source§impl Clone for Hs384Signature
impl Clone for Hs384Signature
source§fn clone(&self) -> Hs384Signature
fn clone(&self) -> Hs384Signature
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Hs384Signature
impl Debug for Hs384Signature
source§impl PartialEq for Hs384Signature
impl PartialEq for Hs384Signature
source§fn eq(&self, other: &Hs384Signature) -> bool
fn eq(&self, other: &Hs384Signature) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Hs384Signature
impl StructuralPartialEq for Hs384Signature
Auto Trait Implementations§
impl Freeze for Hs384Signature
impl RefUnwindSafe for Hs384Signature
impl Send for Hs384Signature
impl Sync for Hs384Signature
impl Unpin for Hs384Signature
impl UnwindSafe for Hs384Signature
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)