pub enum GenerateChecksum {
NoChecksum,
Sha256,
}Available on crate feature
v1 only.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 duplicate 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 for GenerateChecksum
impl PartialEq for GenerateChecksum
impl StructuralPartialEq for GenerateChecksum
Auto Trait Implementations§
impl Freeze for GenerateChecksum
impl RefUnwindSafe for GenerateChecksum
impl Send for GenerateChecksum
impl Sync for GenerateChecksum
impl Unpin for GenerateChecksum
impl UnwindSafe for GenerateChecksum
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