pub struct HashParts { /* private fields */ }
Expand description
A bcrypt hash result before concatenating
Implementations§
Source§impl HashParts
impl HashParts
Sourcepub fn format_for_version_into(&self, version: Version, output: &mut [u8])
pub fn format_for_version_into(&self, version: Version, output: &mut [u8])
Creates the bcrypt hash string from all its part, allowing to customize the version.
Expects an exactly 60-byte output buffer.
See also: Self::format_for_version
Sourcepub fn format_for_version(&self, version: Version) -> String
pub fn format_for_version(&self, version: Version) -> String
Creates the bcrypt hash string from all its part, allowing to customize the version.
Trait Implementations§
impl StructuralPartialEq for HashParts
Auto Trait Implementations§
impl Freeze for HashParts
impl RefUnwindSafe for HashParts
impl Send for HashParts
impl Sync for HashParts
impl Unpin for HashParts
impl UnwindSafe for HashParts
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