[][src]Struct seckey::CmpKey

pub struct CmpKey<T: ?Sized + 'static>(pub T);

Constant Time Compare

Note

it compare memory value.

Methods

impl<T: ?Sized> CmpKey<T>[src]

pub fn from(t: &T) -> &CmpKey<T>[src]

Trait Implementations

impl<T: ?Sized> Debug for CmpKey<T>[src]

impl<T: ?Sized> Eq for CmpKey<T>[src]

impl<T: ?Sized> Ord for CmpKey<T>[src]

impl<T: ?Sized> PartialEq<CmpKey<T>> for CmpKey<T>[src]

impl<T: ?Sized> PartialEq<T> for CmpKey<T>[src]

impl<T: ?Sized> PartialOrd<CmpKey<T>> for CmpKey<T>[src]

impl<T: ?Sized> PartialOrd<T> for CmpKey<T>[src]

Auto Trait Implementations

impl<T: ?Sized> RefUnwindSafe for CmpKey<T> where
    T: RefUnwindSafe

impl<T: ?Sized> Send for CmpKey<T> where
    T: Send

impl<T: ?Sized> Sync for CmpKey<T> where
    T: Sync

impl<T: ?Sized> Unpin for CmpKey<T> where
    T: Unpin

impl<T: ?Sized> UnwindSafe for CmpKey<T> where
    T: UnwindSafe

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.