[][src]Struct itsdangerous::algorithm::Signature

pub struct Signature<N: ArrayLength<u8>>(_);

Represents a computed signature.

Two signatures of the same type can be compared safely using Eq/PartialEq, thanks to the underlying constant time comparison provided by MacResult.

Trait Implementations

impl<N: ArrayLength<u8>> URLSafeBase64Encode for Signature<N>[src]

fn base64_encode(self) -> String[src]

impl<N: Eq + ArrayLength<u8>> Eq for Signature<N>[src]

impl<N: ArrayLength<u8>> PartialEq<Signature<N>> for Signature<N>[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<N: ArrayLength<u8>> From<MacResult<N>> for Signature<N>[src]

impl<N: ArrayLength<u8>> From<GenericArray<u8, N>> for Signature<N>[src]

Auto Trait Implementations

impl<N> Send for Signature<N>

impl<N> Sync for Signature<N>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self