Struct oqs::kem::SharedSecret
source · pub struct SharedSecret { /* private fields */ }
Expand description
New owned buffer
Construct the reference version of this type through the algorithm API functions.
Optional support for serde
if that feature is enabled.
Implementations§
Trait Implementations§
source§fn clone(&self) -> SharedSecret
fn clone(&self) -> SharedSecret
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§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§fn from(buf: &'a SharedSecret) -> SharedSecretRef<'a>
fn from(buf: &'a SharedSecret) -> SharedSecretRef<'a>
Converts to this type from the input type.
source§fn eq(&self, other: &SharedSecret) -> bool
fn eq(&self, other: &SharedSecret) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.