yubihsm 0.17.3

Pure Rust client for YubiHSM2 devices
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! `Algorithm`-related errors

use error::Error;

/// `Algorithm`-related errors
pub type AlgorithmError = Error<AlgorithmErrorKind>;

/// Kinds of `Algorithm`-related errors
#[derive(Copy, Clone, Eq, PartialEq, Debug, Fail)]
pub enum AlgorithmErrorKind {
    /// Invalid algorithm tag
    #[fail(display = "invalid tag")]
    TagInvalid,
}