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