Struct tendermint_machine::SyncedBlock
source · pub struct SyncedBlock<N: Network> {
pub number: BlockNumber,
pub block: <N as Network>::Block,
pub commit: Commit<<N as Network>::SignatureScheme>,
}
Fields§
§number: BlockNumber
§block: <N as Network>::Block
§commit: Commit<<N as Network>::SignatureScheme>
Auto Trait Implementations§
impl<N> Freeze for SyncedBlock<N>where
<N as Network>::Block: Freeze,
<<N as Network>::SignatureScheme as SignatureScheme>::AggregateSignature: Freeze,
impl<N> RefUnwindSafe for SyncedBlock<N>where
<N as Network>::Block: RefUnwindSafe,
<<N as Network>::SignatureScheme as SignatureScheme>::AggregateSignature: RefUnwindSafe,
<N as Network>::ValidatorId: RefUnwindSafe,
impl<N> Send for SyncedBlock<N>
impl<N> Sync for SyncedBlock<N>
impl<N> Unpin for SyncedBlock<N>where
<N as Network>::Block: Unpin,
<<N as Network>::SignatureScheme as SignatureScheme>::AggregateSignature: Unpin,
<N as Network>::ValidatorId: Unpin,
impl<N> UnwindSafe for SyncedBlock<N>where
<N as Network>::Block: UnwindSafe,
<<N as Network>::SignatureScheme as SignatureScheme>::AggregateSignature: UnwindSafe,
<N as Network>::ValidatorId: UnwindSafe,
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