pub struct Epoch {
pub header: EpochHeader,
pub ordered_tx_hashes: Vec<Hash>,
}
Fields§
§header: EpochHeader
§ordered_tx_hashes: Vec<Hash>
Trait Implementations§
Source§impl FixedCodec for Epoch
impl FixedCodec for Epoch
fn encode_fixed(&self) -> ProtocolResult<Bytes>
fn decode_fixed(bytes: Bytes) -> ProtocolResult<Self>
impl Eq for Epoch
impl StructuralPartialEq for Epoch
Auto Trait Implementations§
impl !Freeze for Epoch
impl RefUnwindSafe for Epoch
impl Send for Epoch
impl Sync for Epoch
impl Unpin for Epoch
impl UnwindSafe for Epoch
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