pub enum ChunkContentV0 {
InternalNode(InternalNode),
DataChunk(Vec<u8>),
}
Expand description
encrypted_content of BlockContentV0: a Merkle tree node
Variants§
Trait Implementations§
Source§impl Clone for ChunkContentV0
impl Clone for ChunkContentV0
Source§fn clone(&self) -> ChunkContentV0
fn clone(&self) -> ChunkContentV0
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 ChunkContentV0
impl Debug for ChunkContentV0
Source§impl<'de> Deserialize<'de> for ChunkContentV0
impl<'de> Deserialize<'de> for ChunkContentV0
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ChunkContentV0
impl PartialEq for ChunkContentV0
Source§impl Serialize for ChunkContentV0
impl Serialize for ChunkContentV0
impl Eq for ChunkContentV0
impl StructuralPartialEq for ChunkContentV0
Auto Trait Implementations§
impl Freeze for ChunkContentV0
impl RefUnwindSafe for ChunkContentV0
impl Send for ChunkContentV0
impl Sync for ChunkContentV0
impl Unpin for ChunkContentV0
impl UnwindSafe for ChunkContentV0
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