[−][src]Struct muta_protocol::types::EpochHeader
Fields
chain_id: Hashepoch_id: u64pre_hash: Hashtimestamp: u64logs_bloom: Vec<Bloom>order_root: MerkleRootconfirm_root: Vec<MerkleRoot>state_root: MerkleRootreceipt_root: Vec<MerkleRoot>cycles_used: Vec<u64>proposer: Addressproof: Proofvalidator_version: u64validators: Vec<Validator>Trait Implementations
impl Clone for EpochHeader[src]
fn clone(&self) -> EpochHeader[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for EpochHeader[src]
impl Decodable for EpochHeader[src]
fn decode(r: &Rlp) -> Result<Self, DecoderError>[src]
impl Encodable for EpochHeader[src]
impl Eq for EpochHeader[src]
impl FixedCodec for EpochHeader[src]
fn encode_fixed(&self) -> ProtocolResult<Bytes>[src]
fn decode_fixed(bytes: Bytes) -> ProtocolResult<Self>[src]
impl From<EpochHeader> for EpochHeader[src]
fn from(epoch_header: EpochHeader) -> EpochHeader[src]
impl PartialEq<EpochHeader> for EpochHeader[src]
fn eq(&self, other: &EpochHeader) -> bool[src]
fn ne(&self, other: &EpochHeader) -> bool[src]
impl StructuralEq for EpochHeader[src]
impl StructuralPartialEq for EpochHeader[src]
impl TryFrom<EpochHeader> for EpochHeader[src]
type Error = ProtocolError
The type returned in the event of a conversion error.
fn try_from(epoch_header: EpochHeader) -> Result<EpochHeader, Self::Error>[src]
Auto Trait Implementations
impl RefUnwindSafe for EpochHeader
impl Send for EpochHeader
impl Sync for EpochHeader
impl Unpin for EpochHeader
impl UnwindSafe for EpochHeader
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ProtocolCodec for T where
T: 'static + ProtocolCodecSync, [src]
T: 'static + ProtocolCodecSync,
fn encode<'life0, 'async_trait>(
&'life0 mut Self
) -> Pin<Box<dyn Future<Output = Result<Bytes, ProtocolError>> + 'async_trait + Send>> where
'life0: 'async_trait,
T: 'async_trait, [src]
&'life0 mut Self
) -> Pin<Box<dyn Future<Output = Result<Bytes, ProtocolError>> + 'async_trait + Send>> where
'life0: 'async_trait,
T: 'async_trait,
fn decode<'async_trait, B>(
B
) -> Pin<Box<dyn Future<Output = Result<T, ProtocolError>> + 'async_trait + Send>> where
B: Into<Bytes> + Send + 'async_trait,
T: 'async_trait, [src]
B
) -> Pin<Box<dyn Future<Output = Result<T, ProtocolError>> + 'async_trait + Send>> where
B: Into<Bytes> + Send + 'async_trait,
T: 'async_trait,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,