Trait cryptid::threshold::Threshold[][src]

pub trait Threshold {
    type Error;
    type Destination;
    fn is_complete(&self) -> bool;
fn finish(&self) -> Result<Self::Destination, Self::Error>; }

Associated Types

type Error[src]

type Destination[src]

Loading content...

Required methods

fn is_complete(&self) -> bool[src]

fn finish(&self) -> Result<Self::Destination, Self::Error>[src]

Loading content...

Implementors

impl Threshold for Decryption[src]

type Error = CryptoError

type Destination = Vec<u8>

fn is_complete(&self) -> bool[src]

fn finish(&self) -> Result<Self::Destination, Self::Error>[src]

impl Threshold for ThresholdGenerator[src]

Loading content...