Struct recrypt::api_480::AuthHash [−]
pub struct AuthHash { /* fields omitted */ }
Implementations
impl AuthHash
impl AuthHash
pub fn new_from_slice(bytes: &[u8]) -> Result<AuthHash, RecryptErr>
pub fn new_from_slice(bytes: &[u8]) -> Result<AuthHash, RecryptErr>
construct $t from byte slice. Input slice must be exactly the correct length for the type.
Returns
Ok($t) or Err($RecryptErr::InputWrongSize]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AuthHash
impl UnwindSafe for AuthHash
Blanket Implementations
Mutably borrows from an owned value. Read more