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
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