Enum ics23::compressed_batch_entry::Proof
source · pub enum Proof {
Exist(CompressedExistenceProof),
Nonexist(CompressedNonExistenceProof),
}
Variants§
Exist(CompressedExistenceProof)
Nonexist(CompressedNonExistenceProof)
Implementations§
source§impl Proof
impl Proof
sourcepub fn merge<B>(
field: &mut Option<Proof>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<Proof>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl PartialEq for Proof
impl PartialEq for Proof
impl StructuralPartialEq for Proof
Auto Trait Implementations§
impl RefUnwindSafe for Proof
impl Send for Proof
impl Sync for Proof
impl Unpin for Proof
impl UnwindSafe for Proof
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