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

The n parameter was invalid

The n parameter was invalid

There was a (key)share that had an invalid length

The input supplied to a function had an incorrect length

Trait Implementations

impl Debug for SSSError
[src]

Formats the value using the given formatter.

impl PartialEq for SSSError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for SSSError
[src]

impl Display for SSSError
[src]

Formats the value using the given formatter. Read more

impl Error for SSSError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more