Struct libsignal_protocol::KyberPreKeyId
source · pub struct KyberPreKeyId(/* private fields */);
Expand description
A unique identifier selecting among this client’s known signed pre-keys.
Trait Implementations§
source§impl Clone for KyberPreKeyId
impl Clone for KyberPreKeyId
source§fn clone(&self) -> KyberPreKeyId
fn clone(&self) -> KyberPreKeyId
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 KyberPreKeyId
impl Debug for KyberPreKeyId
source§impl Display for KyberPreKeyId
impl Display for KyberPreKeyId
source§impl From<KyberPreKeyId> for u32
impl From<KyberPreKeyId> for u32
source§fn from(value: KyberPreKeyId) -> Self
fn from(value: KyberPreKeyId) -> Self
Converts to this type from the input type.
source§impl From<u32> for KyberPreKeyId
impl From<u32> for KyberPreKeyId
source§impl Hash for KyberPreKeyId
impl Hash for KyberPreKeyId
source§impl Ord for KyberPreKeyId
impl Ord for KyberPreKeyId
source§fn cmp(&self, other: &KyberPreKeyId) -> Ordering
fn cmp(&self, other: &KyberPreKeyId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for KyberPreKeyId
impl PartialEq for KyberPreKeyId
source§fn eq(&self, other: &KyberPreKeyId) -> bool
fn eq(&self, other: &KyberPreKeyId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for KyberPreKeyId
impl PartialOrd for KyberPreKeyId
source§fn partial_cmp(&self, other: &KyberPreKeyId) -> Option<Ordering>
fn partial_cmp(&self, other: &KyberPreKeyId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for KyberPreKeyId
impl Eq for KyberPreKeyId
impl StructuralPartialEq for KyberPreKeyId
Auto Trait Implementations§
impl Freeze for KyberPreKeyId
impl RefUnwindSafe for KyberPreKeyId
impl Send for KyberPreKeyId
impl Sync for KyberPreKeyId
impl Unpin for KyberPreKeyId
impl UnwindSafe for KyberPreKeyId
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more