pub struct RangeProofDencoder(pub RangeProof);Expand description
Adds support to Decode of SCALE codec’s to RangeProofDencoder type.
Tuple Fields§
§0: RangeProofTrait Implementations§
Source§impl Decode for RangeProofDencoder
impl Decode for RangeProofDencoder
Source§fn decode<I: Input>(input: &mut I) -> Result<Self, CodecError>
fn decode<I: Input>(input: &mut I) -> Result<Self, CodecError>
Decodes a Scalar from an array of bytes.
Source§fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>,
) -> Result<DecodeFinished, Error>where
I: Input,
fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>,
) -> Result<DecodeFinished, Error>where
I: Input,
Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
Auto Trait Implementations§
impl Freeze for RangeProofDencoder
impl RefUnwindSafe for RangeProofDencoder
impl Send for RangeProofDencoder
impl Sync for RangeProofDencoder
impl Unpin for RangeProofDencoder
impl UnwindSafe for RangeProofDencoder
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