Enum shamirsecretsharing::SSSError
[−]
[src]
pub enum SSSError { InvalidN(u8), InvalidK(u8), BadShareLen((usize, usize)), BadInputLen(usize), }
Custom error types for errors originating from this crate
Variants
InvalidN(u8)
The n
parameter was invalid
InvalidK(u8)
The n
parameter was invalid
There was a (key)share that had an invalid length
BadInputLen(usize)
The input supplied to a function had an incorrect length
Trait Implementations
impl Debug for SSSError
[src]
impl PartialEq for SSSError
[src]
fn eq(&self, __arg_0: &SSSError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SSSError) -> bool
This method tests for !=
.