pub enum UpperIntegrity {
Sha256 {
digest: String,
},
SparseSha256V1 {
digest: String,
},
FileMerkleBlake3V1 {
root: String,
logical_size: u64,
leaf_size: u32,
},
}Expand description
Optional persistent layer integrity.
Variants§
Sha256
Ordinary SHA-256 retained only for released compatibility.
SparseSha256V1
Released logical-byte sparse SHA-256.
FileMerkleBlake3V1
Current sparse-aware fixed-leaf BLAKE3 Merkle root.
Implementations§
Trait Implementations§
Source§impl Clone for UpperIntegrity
impl Clone for UpperIntegrity
Source§fn clone(&self) -> UpperIntegrity
fn clone(&self) -> UpperIntegrity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpperIntegrity
impl Debug for UpperIntegrity
Source§impl<'de> Deserialize<'de> for UpperIntegrity
impl<'de> Deserialize<'de> for UpperIntegrity
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpperIntegrity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpperIntegrity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UpperIntegrity
Source§impl PartialEq for UpperIntegrity
impl PartialEq for UpperIntegrity
Source§impl Serialize for UpperIntegrity
impl Serialize for UpperIntegrity
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for UpperIntegrity
Auto Trait Implementations§
impl Freeze for UpperIntegrity
impl RefUnwindSafe for UpperIntegrity
impl Send for UpperIntegrity
impl Sync for UpperIntegrity
impl Unpin for UpperIntegrity
impl UnsafeUnpin for UpperIntegrity
impl UnwindSafe for UpperIntegrity
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