Struct seckey::CmpKey[][src]

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

Constant Time Compare

Note

it compare memory value.

Methods

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

Trait Implementations

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

Formats the value using the given formatter. Read more

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

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

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

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

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

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

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Auto Trait Implementations

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

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