pub enum HashDigest {
Sha1,
Sha256,
}
Expand description
Hash digest
Since Rails 7, the hash digest is Sha256
. Before that, it was Sha1
.
Variants§
Auto Trait Implementations§
impl Freeze for HashDigest
impl RefUnwindSafe for HashDigest
impl Send for HashDigest
impl Sync for HashDigest
impl Unpin for HashDigest
impl UnwindSafe for HashDigest
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