#[non_exhaustive]pub enum ChecksumAlgorithm {
Sha256,
}Expand description
The checksum algorithm identity and version protecting a component-state envelope.
Carried as its own versioned field (Gate C) so a future algorithm change is a migration, not a silent reinterpretation of existing durable bytes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Sha256
SHA-256 over the canonical checksum input.
Implementations§
Trait Implementations§
Source§impl Clone for ChecksumAlgorithm
impl Clone for ChecksumAlgorithm
impl Copy for ChecksumAlgorithm
Source§impl Debug for ChecksumAlgorithm
impl Debug for ChecksumAlgorithm
impl Eq for ChecksumAlgorithm
Source§impl Hash for ChecksumAlgorithm
impl Hash for ChecksumAlgorithm
Source§impl PartialEq for ChecksumAlgorithm
impl PartialEq for ChecksumAlgorithm
impl StructuralPartialEq for ChecksumAlgorithm
Auto Trait Implementations§
impl Freeze for ChecksumAlgorithm
impl RefUnwindSafe for ChecksumAlgorithm
impl Send for ChecksumAlgorithm
impl Sync for ChecksumAlgorithm
impl Unpin for ChecksumAlgorithm
impl UnsafeUnpin for ChecksumAlgorithm
impl UnwindSafe for ChecksumAlgorithm
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