Enum ocb::Error [-] [+] [src]

pub enum Error {
    InvalidTag,
    NotSupported,
    NonceNotAvailable,
    Other(c_int),
}

Errors the library can produce.

Variants

InvalidTag
NotSupported
NonceNotAvailable
Other

Trait Implementations

impl Display for Error

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl Hash for Error

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Ord for Error

fn cmp(&self, __arg_0: &Error) -> Ordering

impl PartialOrd for Error

fn partial_cmp(&self, __arg_0: &Error) -> Option<Ordering>

fn lt(&self, __arg_0: &Error) -> bool

fn le(&self, __arg_0: &Error) -> bool

fn gt(&self, __arg_0: &Error) -> bool

fn ge(&self, __arg_0: &Error) -> bool

impl Eq for Error

fn assert_receiver_is_total_eq(&self)

impl PartialEq for Error

fn eq(&self, __arg_0: &Error) -> bool

fn ne(&self, __arg_0: &Error) -> bool

impl Debug for Error

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Error

fn clone(&self) -> Error

fn clone_from(&mut self, source: &Self)

impl Copy for Error