Enum webc::v1::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 moresource§impl Debug for GenerateChecksum
impl Debug for GenerateChecksum
source§impl Default for GenerateChecksum
impl Default for GenerateChecksum
source§impl PartialEq<GenerateChecksum> for GenerateChecksum
impl PartialEq<GenerateChecksum> for GenerateChecksum
source§fn eq(&self, other: &GenerateChecksum) -> bool
fn eq(&self, other: &GenerateChecksum) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.