pub struct SealsBlock {
pub prime_id: PrimeId,
pub seals: ConfinedVec<PrimeSeal, 0, 0x19000>,
}Expand description
Prime second-level block containing all closed single-use seals.
Fields§
§prime_id: PrimeId§seals: ConfinedVec<PrimeSeal, 0, 0x19000>Trait Implementations§
Source§impl Clone for SealsBlock
impl Clone for SealsBlock
Source§fn clone(&self) -> SealsBlock
fn clone(&self) -> SealsBlock
Returns a copy 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 SealsBlock
impl CommitEncode for SealsBlock
Source§type CommitmentId = SealsHash
type CommitmentId = SealsHash
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 Debug for SealsBlock
impl Debug for SealsBlock
Source§impl<'de> Deserialize<'de> for SealsBlock
impl<'de> Deserialize<'de> for SealsBlock
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 SealsBlock
impl Hash for SealsBlock
Source§impl MerkleLeaves for SealsBlock
impl MerkleLeaves for SealsBlock
Source§impl PartialEq for SealsBlock
impl PartialEq for SealsBlock
Source§impl Serialize for SealsBlock
impl Serialize for SealsBlock
Source§impl StrictDecode for SealsBlock
impl StrictDecode for SealsBlock
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
fn strict_read(reader: impl ReadRaw) -> Result<Self, DecodeError>
Source§impl StrictDumb for SealsBlock
impl StrictDumb for SealsBlock
fn strict_dumb() -> Self
Source§impl StrictEncode for SealsBlock
impl StrictEncode for SealsBlock
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
fn strict_write(&self, writer: impl WriteRaw) -> Result<(), Error>
Source§impl StrictStruct for SealsBlock
impl StrictStruct for SealsBlock
const ALL_FIELDS: &'static [&'static str] = _
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictType for SealsBlock
impl StrictType for SealsBlock
const STRICT_LIB_NAME: &'static str = LIB_NAME_PRIME
fn strict_name() -> Option<TypeName>
impl Eq for SealsBlock
impl StrictProduct for SealsBlock
impl StructuralPartialEq for SealsBlock
Auto Trait Implementations§
impl Freeze for SealsBlock
impl RefUnwindSafe for SealsBlock
impl Send for SealsBlock
impl Sync for SealsBlock
impl Unpin for SealsBlock
impl UnwindSafe for SealsBlock
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.