struct ScramSha256Hash {
iterations: NonZeroU32,
salt: [u8; 32],
server_key: [u8; 32],
client_key: [u8; 32],
}
Expand description
The SCRAM-SHA-256 hash
Fields§
§iterations: NonZeroU32
The number of iterations used for hashing
salt: [u8; 32]
The salt used for hashing
server_key: [u8; 32]
The server key
client_key: [u8; 32]
The client key
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScramSha256Hash
impl RefUnwindSafe for ScramSha256Hash
impl Send for ScramSha256Hash
impl Sync for ScramSha256Hash
impl Unpin for ScramSha256Hash
impl UnwindSafe for ScramSha256Hash
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more