pub enum SyncMessageUnionReader<'r> {
GetHeaders(GetHeadersReader<'r>),
SendHeaders(SendHeadersReader<'r>),
GetBlocks(GetBlocksReader<'r>),
SendBlock(SendBlockReader<'r>),
InIBD(InIBDReader<'r>),
}
Variants§
GetHeaders(GetHeadersReader<'r>)
SendHeaders(SendHeadersReader<'r>)
GetBlocks(GetBlocksReader<'r>)
SendBlock(SendBlockReader<'r>)
InIBD(InIBDReader<'r>)
Implementations§
Trait Implementations§
Source§impl<'r> Clone for SyncMessageUnionReader<'r>
impl<'r> Clone for SyncMessageUnionReader<'r>
Source§fn clone(&self) -> SyncMessageUnionReader<'r>
fn clone(&self) -> SyncMessageUnionReader<'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 SyncMessageUnionReader<'r>
impl<'r> Debug for SyncMessageUnionReader<'r>
Source§impl<'r> Display for SyncMessageUnionReader<'r>
impl<'r> Display for SyncMessageUnionReader<'r>
Source§impl<'r> From<GetBlocksReader<'r>> for SyncMessageUnionReader<'r>
impl<'r> From<GetBlocksReader<'r>> for SyncMessageUnionReader<'r>
Source§fn from(item: GetBlocksReader<'r>) -> Self
fn from(item: GetBlocksReader<'r>) -> Self
Converts to this type from the input type.
Source§impl<'r> From<GetHeadersReader<'r>> for SyncMessageUnionReader<'r>
impl<'r> From<GetHeadersReader<'r>> for SyncMessageUnionReader<'r>
Source§fn from(item: GetHeadersReader<'r>) -> Self
fn from(item: GetHeadersReader<'r>) -> Self
Converts to this type from the input type.
Source§impl<'r> From<InIBDReader<'r>> for SyncMessageUnionReader<'r>
impl<'r> From<InIBDReader<'r>> for SyncMessageUnionReader<'r>
Source§fn from(item: InIBDReader<'r>) -> Self
fn from(item: InIBDReader<'r>) -> Self
Converts to this type from the input type.
Source§impl<'r> From<SendBlockReader<'r>> for SyncMessageUnionReader<'r>
impl<'r> From<SendBlockReader<'r>> for SyncMessageUnionReader<'r>
Source§fn from(item: SendBlockReader<'r>) -> Self
fn from(item: SendBlockReader<'r>) -> Self
Converts to this type from the input type.
Source§impl<'r> From<SendHeadersReader<'r>> for SyncMessageUnionReader<'r>
impl<'r> From<SendHeadersReader<'r>> for SyncMessageUnionReader<'r>
Source§fn from(item: SendHeadersReader<'r>) -> Self
fn from(item: SendHeadersReader<'r>) -> Self
Converts to this type from the input type.
impl<'r> Copy for SyncMessageUnionReader<'r>
Auto Trait Implementations§
impl<'r> Freeze for SyncMessageUnionReader<'r>
impl<'r> RefUnwindSafe for SyncMessageUnionReader<'r>
impl<'r> Send for SyncMessageUnionReader<'r>
impl<'r> Sync for SyncMessageUnionReader<'r>
impl<'r> Unpin for SyncMessageUnionReader<'r>
impl<'r> UnwindSafe for SyncMessageUnionReader<'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
)