Enum ckb_types::packed::RelayMessageUnion [−][src]
pub enum RelayMessageUnion {
CompactBlock(CompactBlock),
RelayTransactions(RelayTransactions),
RelayTransactionHashes(RelayTransactionHashes),
GetRelayTransactions(GetRelayTransactions),
GetBlockTransactions(GetBlockTransactions),
BlockTransactions(BlockTransactions),
GetBlockProposal(GetBlockProposal),
BlockProposal(BlockProposal),
}Variants
CompactBlock(CompactBlock)RelayTransactions(RelayTransactions)RelayTransactionHashes(RelayTransactionHashes)GetRelayTransactions(GetRelayTransactions)GetBlockTransactions(GetBlockTransactions)BlockTransactions(BlockTransactions)GetBlockProposal(GetBlockProposal)BlockProposal(BlockProposal)Implementations
Trait Implementations
impl Clone for RelayMessageUnion[src]
impl Clone for RelayMessageUnion[src]fn clone(&self) -> RelayMessageUnion[src]
fn clone(&self) -> RelayMessageUnion[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for RelayMessageUnion[src]
impl Debug for RelayMessageUnion[src]impl Default for RelayMessageUnion[src]
impl Default for RelayMessageUnion[src]impl Display for RelayMessageUnion[src]
impl Display for RelayMessageUnion[src]impl From<BlockProposal> for RelayMessageUnion[src]
impl From<BlockProposal> for RelayMessageUnion[src]fn from(item: BlockProposal) -> Self[src]
fn from(item: BlockProposal) -> Self[src]Performs the conversion.
impl From<BlockTransactions> for RelayMessageUnion[src]
impl From<BlockTransactions> for RelayMessageUnion[src]fn from(item: BlockTransactions) -> Self[src]
fn from(item: BlockTransactions) -> Self[src]Performs the conversion.
impl From<CompactBlock> for RelayMessageUnion[src]
impl From<CompactBlock> for RelayMessageUnion[src]fn from(item: CompactBlock) -> Self[src]
fn from(item: CompactBlock) -> Self[src]Performs the conversion.
impl From<GetBlockProposal> for RelayMessageUnion[src]
impl From<GetBlockProposal> for RelayMessageUnion[src]fn from(item: GetBlockProposal) -> Self[src]
fn from(item: GetBlockProposal) -> Self[src]Performs the conversion.
impl From<GetBlockTransactions> for RelayMessageUnion[src]
impl From<GetBlockTransactions> for RelayMessageUnion[src]fn from(item: GetBlockTransactions) -> Self[src]
fn from(item: GetBlockTransactions) -> Self[src]Performs the conversion.
impl From<GetRelayTransactions> for RelayMessageUnion[src]
impl From<GetRelayTransactions> for RelayMessageUnion[src]fn from(item: GetRelayTransactions) -> Self[src]
fn from(item: GetRelayTransactions) -> Self[src]Performs the conversion.
impl From<RelayTransactionHashes> for RelayMessageUnion[src]
impl From<RelayTransactionHashes> for RelayMessageUnion[src]fn from(item: RelayTransactionHashes) -> Self[src]
fn from(item: RelayTransactionHashes) -> Self[src]Performs the conversion.
impl From<RelayTransactions> for RelayMessageUnion[src]
impl From<RelayTransactions> for RelayMessageUnion[src]fn from(item: RelayTransactions) -> Self[src]
fn from(item: RelayTransactions) -> Self[src]Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for RelayMessageUnion
impl Send for RelayMessageUnion
impl Sync for RelayMessageUnion
impl Unpin for RelayMessageUnion
impl UnwindSafe for RelayMessageUnion
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,