pub enum ProofFrame {
Branch {
depth: usize,
slot: u8,
siblings: Vec<(u8, String)>,
},
Compressed {
depth: usize,
run: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for ProofFrame
impl Clone for ProofFrame
Source§fn clone(&self) -> ProofFrame
fn clone(&self) -> ProofFrame
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 ProofFrame
impl Debug for ProofFrame
Source§impl<'de> Deserialize<'de> for ProofFrame
impl<'de> Deserialize<'de> for ProofFrame
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
Auto Trait Implementations§
impl Freeze for ProofFrame
impl RefUnwindSafe for ProofFrame
impl Send for ProofFrame
impl Sync for ProofFrame
impl Unpin for ProofFrame
impl UnsafeUnpin for ProofFrame
impl UnwindSafe for ProofFrame
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