pub struct Sha512Params { /* private fields */ }
Expand description
Algorithm parameters.
Implementations§
Source§impl Sha512Params
impl Sha512Params
Sourcepub fn new(rounds: usize) -> Result<Sha512Params, CryptError>
pub fn new(rounds: usize) -> Result<Sha512Params, CryptError>
Create new algorithm parameters.
Trait Implementations§
Source§impl Clone for Sha512Params
impl Clone for Sha512Params
Source§fn clone(&self) -> Sha512Params
fn clone(&self) -> Sha512Params
Returns a copy 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 moreSource§impl Debug for Sha512Params
impl Debug for Sha512Params
Auto Trait Implementations§
impl Freeze for Sha512Params
impl RefUnwindSafe for Sha512Params
impl Send for Sha512Params
impl Sync for Sha512Params
impl Unpin for Sha512Params
impl UnwindSafe for Sha512Params
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