pub enum LPHashFunction {
Blake3,
Shake128,
Shake256,
Sha256,
}Variants§
Trait Implementations§
Source§impl Clone for LPHashFunction
impl Clone for LPHashFunction
Source§fn clone(&self) -> LPHashFunction
fn clone(&self) -> LPHashFunction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LPHashFunction
Source§impl Debug for LPHashFunction
impl Debug for LPHashFunction
Source§impl<'de> Deserialize<'de> for LPHashFunction
impl<'de> Deserialize<'de> for LPHashFunction
Source§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§impl Display for LPHashFunction
impl Display for LPHashFunction
impl Eq for LPHashFunction
Source§impl From<HashFunction> for LPHashFunction
impl From<HashFunction> for LPHashFunction
Source§fn from(kem: HashFunction) -> Self
fn from(kem: HashFunction) -> Self
Converts to this type from the input type.
Source§impl From<LPHashFunction> for HashFunction
impl From<LPHashFunction> for HashFunction
Source§fn from(lp_hash_fnction: LPHashFunction) -> Self
fn from(lp_hash_fnction: LPHashFunction) -> Self
Converts to this type from the input type.
Source§impl FromStr for LPHashFunction
impl FromStr for LPHashFunction
Source§impl Hash for LPHashFunction
impl Hash for LPHashFunction
Source§impl IntoEnumIterator for LPHashFunction
impl IntoEnumIterator for LPHashFunction
type Iterator = LPHashFunctionIter
fn iter() -> LPHashFunctionIter ⓘ
Source§impl JsonSchema for LPHashFunction
impl JsonSchema for LPHashFunction
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl Ord for LPHashFunction
impl Ord for LPHashFunction
Source§fn cmp(&self, other: &LPHashFunction) -> Ordering
fn cmp(&self, other: &LPHashFunction) -> Ordering
1.21.0 (const: unstable) · 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 LPHashFunction
impl PartialEq for LPHashFunction
Source§impl PartialOrd for LPHashFunction
impl PartialOrd for LPHashFunction
Source§impl Serialize for LPHashFunction
impl Serialize for LPHashFunction
impl StructuralPartialEq for LPHashFunction
Auto Trait Implementations§
impl Freeze for LPHashFunction
impl RefUnwindSafe for LPHashFunction
impl Send for LPHashFunction
impl Sync for LPHashFunction
impl Unpin for LPHashFunction
impl UnsafeUnpin for LPHashFunction
impl UnwindSafe for LPHashFunction
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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