Struct jwt_compact::alg::Hs512Signature
source · pub struct Hs512Signature(/* private fields */);
Expand description
Signature produced by the Hs512
algorithm.
Trait Implementations§
source§impl AlgorithmSignature for Hs512Signature
impl AlgorithmSignature for Hs512Signature
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 Hs512Signature
impl Clone for Hs512Signature
source§fn clone(&self) -> Hs512Signature
fn clone(&self) -> Hs512Signature
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 Hs512Signature
impl Debug for Hs512Signature
source§impl PartialEq for Hs512Signature
impl PartialEq for Hs512Signature
source§fn eq(&self, other: &Hs512Signature) -> bool
fn eq(&self, other: &Hs512Signature) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Hs512Signature
impl StructuralPartialEq for Hs512Signature
Auto Trait Implementations§
impl Freeze for Hs512Signature
impl RefUnwindSafe for Hs512Signature
impl Send for Hs512Signature
impl Sync for Hs512Signature
impl Unpin for Hs512Signature
impl UnwindSafe for Hs512Signature
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
)