Struct recrypt::api::DerivedSymmetricKey [−]
pub struct DerivedSymmetricKey { /* fields omitted */ }
Implementations
impl DerivedSymmetricKey
impl DerivedSymmetricKey
pub fn new_from_slice(bytes: &[u8]) -> Result<DerivedSymmetricKey, RecryptErr>
pub fn new_from_slice(bytes: &[u8]) -> Result<DerivedSymmetricKey, 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
impl Clone for DerivedSymmetricKey
impl Clone for DerivedSymmetricKey
fn clone(&self) -> DerivedSymmetricKey
fn clone(&self) -> DerivedSymmetricKey
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for DerivedSymmetricKey
impl Debug for DerivedSymmetricKey
impl From<DerivedSymmetricKey> for [u8; 32]
impl From<DerivedSymmetricKey> for [u8; 32]
fn from(t: DerivedSymmetricKey) -> Self
fn from(t: DerivedSymmetricKey) -> Self
Performs the conversion.
impl Hash for DerivedSymmetricKey
impl Hash for DerivedSymmetricKey
impl PartialEq<DerivedSymmetricKey> for DerivedSymmetricKey
impl PartialEq<DerivedSymmetricKey> for DerivedSymmetricKey
impl Eq for DerivedSymmetricKey
Auto Trait Implementations
impl RefUnwindSafe for DerivedSymmetricKey
impl Send for DerivedSymmetricKey
impl Sync for DerivedSymmetricKey
impl Unpin for DerivedSymmetricKey
impl UnwindSafe for DerivedSymmetricKey
Blanket Implementations
Mutably borrows from an owned value. Read more