pub enum DigestAlg {
Sha256,
Sha512,
Shake256_64,
}Expand description
Supported artifact digest algorithms.
Variants§
Sha256
SHA-256 with 32-byte output.
Sha512
SHA-512 with 64-byte output.
Shake256_64
SHAKE256 XOF truncated to 64 bytes.
Implementations§
Trait Implementations§
impl Copy for DigestAlg
impl Eq for DigestAlg
impl StructuralPartialEq for DigestAlg
Auto Trait Implementations§
impl Freeze for DigestAlg
impl RefUnwindSafe for DigestAlg
impl Send for DigestAlg
impl Sync for DigestAlg
impl Unpin for DigestAlg
impl UnwindSafe for DigestAlg
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