Enum webc::GenerateChecksum
source · pub enum GenerateChecksum {
NoChecksum,
Sha256,
}Expand description
Whether to sign the bytes when deserializing the WebC file to bytes
Variants§
NoChecksum
Signature bytes get zeroed
Sha256
Sha256 checksum of the file is calculated and padded with zeroes, but no signature is generated
Implementations§
Trait Implementations§
source§impl Clone for GenerateChecksum
impl Clone for GenerateChecksum
source§fn clone(&self) -> GenerateChecksum
fn clone(&self) -> GenerateChecksum
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more