pub struct MerkleConcealed { /* private fields */ }
Trait Implementations§
Source§impl Clone for MerkleConcealed
impl Clone for MerkleConcealed
Source§fn clone(&self) -> MerkleConcealed
fn clone(&self) -> MerkleConcealed
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 CommitEncode for MerkleConcealed
impl CommitEncode for MerkleConcealed
Source§type CommitmentId = Commitment
type CommitmentId = Commitment
Type of the resulting commitment.
Source§fn commit_encode(&self, engine: &mut CommitEngine)
fn commit_encode(&self, engine: &mut CommitEngine)
Encodes the data for the commitment by writing them directly into a
std::io::Write
writer instanceSource§impl Conceal for MerkleConcealed
impl Conceal for MerkleConcealed
Source§impl Debug for MerkleConcealed
impl Debug for MerkleConcealed
Source§impl<'de> Deserialize<'de> for MerkleConcealed
impl<'de> Deserialize<'de> for MerkleConcealed
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 Hash for MerkleConcealed
impl Hash for MerkleConcealed
Source§impl PartialEq for MerkleConcealed
impl PartialEq for MerkleConcealed
Source§impl Serialize for MerkleConcealed
impl Serialize for MerkleConcealed
Source§impl StrictDecode for MerkleConcealed
impl StrictDecode for MerkleConcealed
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
fn strict_read(reader: impl ReadRaw) -> Result<Self, DecodeError>
Source§impl StrictDumb for MerkleConcealed
impl StrictDumb for MerkleConcealed
fn strict_dumb() -> Self
Source§impl StrictEncode for MerkleConcealed
impl StrictEncode for MerkleConcealed
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
fn strict_write(&self, writer: impl WriteRaw) -> Result<(), Error>
Source§impl StrictStruct for MerkleConcealed
impl StrictStruct for MerkleConcealed
const ALL_FIELDS: &'static [&'static str]
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictType for MerkleConcealed
impl StrictType for MerkleConcealed
const STRICT_LIB_NAME: &'static str = LIB_NAME_COMMIT_VERIFY
fn strict_name() -> Option<TypeName>
impl Copy for MerkleConcealed
impl Eq for MerkleConcealed
impl StrictProduct for MerkleConcealed
impl StructuralPartialEq for MerkleConcealed
Auto Trait Implementations§
impl Freeze for MerkleConcealed
impl RefUnwindSafe for MerkleConcealed
impl Send for MerkleConcealed
impl Sync for MerkleConcealed
impl Unpin for MerkleConcealed
impl UnwindSafe for MerkleConcealed
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CommitId for Twhere
T: CommitEncode,
impl<T> CommitId for Twhere
T: CommitEncode,
fn commit(&self) -> CommitEngine
Source§fn commit_id(&self) -> <T as CommitEncode>::CommitmentId
fn commit_id(&self) -> <T as CommitEncode>::CommitmentId
Performs commitment to client-side-validated data
Source§impl<T> CommitmentLayout for Twhere
T: CommitEncode + StrictDumb,
impl<T> CommitmentLayout for Twhere
T: CommitEncode + StrictDumb,
fn commitment_layout() -> CommitLayout
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.