camellia_rs/
error.rs

1use std::fmt;
2
3#[derive(Debug, Clone)]
4pub struct InvalidKeyLength;
5
6impl fmt::Display for InvalidKeyLength {
7    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
8        write!(f, "invalid key length")
9    }
10}