pub enum RelayMessageUnionReader<'r> {
CompactBlock(CompactBlockReader<'r>),
RelayTransactions(RelayTransactionsReader<'r>),
RelayTransactionHashes(RelayTransactionHashesReader<'r>),
GetRelayTransactions(GetRelayTransactionsReader<'r>),
GetBlockTransactions(GetBlockTransactionsReader<'r>),
BlockTransactions(BlockTransactionsReader<'r>),
GetBlockProposal(GetBlockProposalReader<'r>),
BlockProposal(BlockProposalReader<'r>),
}
Variants§
CompactBlock(CompactBlockReader<'r>)
RelayTransactions(RelayTransactionsReader<'r>)
RelayTransactionHashes(RelayTransactionHashesReader<'r>)
GetRelayTransactions(GetRelayTransactionsReader<'r>)
GetBlockTransactions(GetBlockTransactionsReader<'r>)
BlockTransactions(BlockTransactionsReader<'r>)
GetBlockProposal(GetBlockProposalReader<'r>)
BlockProposal(BlockProposalReader<'r>)
Implementations§
Trait Implementations§
Source§impl<'r> Clone for RelayMessageUnionReader<'r>
impl<'r> Clone for RelayMessageUnionReader<'r>
Source§fn clone(&self) -> RelayMessageUnionReader<'r>
fn clone(&self) -> RelayMessageUnionReader<'r>
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<'r> Debug for RelayMessageUnionReader<'r>
impl<'r> Debug for RelayMessageUnionReader<'r>
Source§impl<'r> Display for RelayMessageUnionReader<'r>
impl<'r> Display for RelayMessageUnionReader<'r>
Source§impl<'r> From<BlockProposalReader<'r>> for RelayMessageUnionReader<'r>
impl<'r> From<BlockProposalReader<'r>> for RelayMessageUnionReader<'r>
Source§fn from(item: BlockProposalReader<'r>) -> RelayMessageUnionReader<'r>
fn from(item: BlockProposalReader<'r>) -> RelayMessageUnionReader<'r>
Converts to this type from the input type.
Source§impl<'r> From<BlockTransactionsReader<'r>> for RelayMessageUnionReader<'r>
impl<'r> From<BlockTransactionsReader<'r>> for RelayMessageUnionReader<'r>
Source§fn from(item: BlockTransactionsReader<'r>) -> RelayMessageUnionReader<'r>
fn from(item: BlockTransactionsReader<'r>) -> RelayMessageUnionReader<'r>
Converts to this type from the input type.
Source§impl<'r> From<CompactBlockReader<'r>> for RelayMessageUnionReader<'r>
impl<'r> From<CompactBlockReader<'r>> for RelayMessageUnionReader<'r>
Source§fn from(item: CompactBlockReader<'r>) -> RelayMessageUnionReader<'r>
fn from(item: CompactBlockReader<'r>) -> RelayMessageUnionReader<'r>
Converts to this type from the input type.
Source§impl<'r> From<GetBlockProposalReader<'r>> for RelayMessageUnionReader<'r>
impl<'r> From<GetBlockProposalReader<'r>> for RelayMessageUnionReader<'r>
Source§fn from(item: GetBlockProposalReader<'r>) -> RelayMessageUnionReader<'r>
fn from(item: GetBlockProposalReader<'r>) -> RelayMessageUnionReader<'r>
Converts to this type from the input type.
Source§impl<'r> From<GetBlockTransactionsReader<'r>> for RelayMessageUnionReader<'r>
impl<'r> From<GetBlockTransactionsReader<'r>> for RelayMessageUnionReader<'r>
Source§fn from(item: GetBlockTransactionsReader<'r>) -> RelayMessageUnionReader<'r>
fn from(item: GetBlockTransactionsReader<'r>) -> RelayMessageUnionReader<'r>
Converts to this type from the input type.
Source§impl<'r> From<GetRelayTransactionsReader<'r>> for RelayMessageUnionReader<'r>
impl<'r> From<GetRelayTransactionsReader<'r>> for RelayMessageUnionReader<'r>
Source§fn from(item: GetRelayTransactionsReader<'r>) -> RelayMessageUnionReader<'r>
fn from(item: GetRelayTransactionsReader<'r>) -> RelayMessageUnionReader<'r>
Converts to this type from the input type.
Source§impl<'r> From<RelayTransactionHashesReader<'r>> for RelayMessageUnionReader<'r>
impl<'r> From<RelayTransactionHashesReader<'r>> for RelayMessageUnionReader<'r>
Source§fn from(item: RelayTransactionHashesReader<'r>) -> RelayMessageUnionReader<'r>
fn from(item: RelayTransactionHashesReader<'r>) -> RelayMessageUnionReader<'r>
Converts to this type from the input type.
Source§impl<'r> From<RelayTransactionsReader<'r>> for RelayMessageUnionReader<'r>
impl<'r> From<RelayTransactionsReader<'r>> for RelayMessageUnionReader<'r>
Source§fn from(item: RelayTransactionsReader<'r>) -> RelayMessageUnionReader<'r>
fn from(item: RelayTransactionsReader<'r>) -> RelayMessageUnionReader<'r>
Converts to this type from the input type.
impl<'r> Copy for RelayMessageUnionReader<'r>
Auto Trait Implementations§
impl<'r> Freeze for RelayMessageUnionReader<'r>
impl<'r> RefUnwindSafe for RelayMessageUnionReader<'r>
impl<'r> Send for RelayMessageUnionReader<'r>
impl<'r> Sync for RelayMessageUnionReader<'r>
impl<'r> Unpin for RelayMessageUnionReader<'r>
impl<'r> UnwindSafe for RelayMessageUnionReader<'r>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)