Enum nucypher_core::FerveoVariant
source · pub enum FerveoVariant {
SIMPLE,
PRECOMPUTED,
}Expand description
The ferveo variant to use for the decryption share derivation.
Variants§
SIMPLE
the simple variant requires n/n shares to decrypt
PRECOMPUTED
the precomputed variant requires m/n shares to decrypt
Trait Implementations§
source§impl Clone for FerveoVariant
impl Clone for FerveoVariant
source§fn clone(&self) -> FerveoVariant
fn clone(&self) -> FerveoVariant
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 FerveoVariant
impl Debug for FerveoVariant
source§impl<'de> Deserialize<'de> for FerveoVariant
impl<'de> Deserialize<'de> for FerveoVariant
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 PartialEq<FerveoVariant> for FerveoVariant
impl PartialEq<FerveoVariant> for FerveoVariant
source§fn eq(&self, other: &FerveoVariant) -> bool
fn eq(&self, other: &FerveoVariant) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for FerveoVariant
impl Serialize for FerveoVariant
impl Copy for FerveoVariant
impl Eq for FerveoVariant
impl StructuralEq for FerveoVariant
impl StructuralPartialEq for FerveoVariant
Auto Trait Implementations§
impl RefUnwindSafe for FerveoVariant
impl Send for FerveoVariant
impl Sync for FerveoVariant
impl Unpin for FerveoVariant
impl UnwindSafe for FerveoVariant
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