pub struct CompressedProofWithContext { /* private fields */ }Implementations§
Source§impl CompressedProofWithContext
impl CompressedProofWithContext
pub fn compressed_proof<T>(self, value: T) -> Self
pub fn leaf_indices<T>(self, value: T) -> Self
pub fn leaves<T>(self, value: T) -> Self
pub fn merkle_trees<T>(self, value: T) -> Self
pub fn root_indices<T>(self, value: T) -> Self
pub fn roots<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for CompressedProofWithContext
impl Clone for CompressedProofWithContext
Source§fn clone(&self) -> CompressedProofWithContext
fn clone(&self) -> CompressedProofWithContext
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 CompressedProofWithContext
impl Debug for CompressedProofWithContext
Source§impl Default for CompressedProofWithContext
impl Default for CompressedProofWithContext
Source§impl From<CompressedProofWithContext> for CompressedProofWithContext
impl From<CompressedProofWithContext> for CompressedProofWithContext
Source§fn from(value: CompressedProofWithContext) -> Self
fn from(value: CompressedProofWithContext) -> Self
Converts to this type from the input type.
Source§impl TryFrom<CompressedProofWithContext> for CompressedProofWithContext
impl TryFrom<CompressedProofWithContext> for CompressedProofWithContext
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: CompressedProofWithContext) -> Result<Self, ConversionError>
fn try_from(value: CompressedProofWithContext) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CompressedProofWithContext
impl RefUnwindSafe for CompressedProofWithContext
impl Send for CompressedProofWithContext
impl Sync for CompressedProofWithContext
impl Unpin for CompressedProofWithContext
impl UnsafeUnpin for CompressedProofWithContext
impl UnwindSafe for CompressedProofWithContext
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