pub struct Aegis256Key(/* private fields */);Implementations§
Source§impl Aegis256Key
impl Aegis256Key
pub fn new(key: [u8; 32]) -> Self
pub fn from_base64(key_b64: &str) -> Result<Self, EncryptionSpecError>
Trait Implementations§
Source§impl Clone for Aegis256Key
impl Clone for Aegis256Key
Source§fn clone(&self) -> Aegis256Key
fn clone(&self) -> Aegis256Key
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Aegis256Key
impl RefUnwindSafe for Aegis256Key
impl Send for Aegis256Key
impl Sync for Aegis256Key
impl Unpin for Aegis256Key
impl UnsafeUnpin for Aegis256Key
impl UnwindSafe for Aegis256Key
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more