Enum ckb_types::packed::SyncMessageUnionReader
source · [−]pub enum SyncMessageUnionReader<'r> {
GetHeaders(GetHeadersReader<'r>),
SendHeaders(SendHeadersReader<'r>),
GetBlocks(GetBlocksReader<'r>),
SendBlock(SendBlockReader<'r>),
SetFilter(SetFilterReader<'r>),
AddFilter(AddFilterReader<'r>),
ClearFilter(ClearFilterReader<'r>),
FilteredBlock(FilteredBlockReader<'r>),
InIBD(InIBDReader<'r>),
}
Variants
GetHeaders(GetHeadersReader<'r>)
SendHeaders(SendHeadersReader<'r>)
GetBlocks(GetBlocksReader<'r>)
SendBlock(SendBlockReader<'r>)
SetFilter(SetFilterReader<'r>)
AddFilter(AddFilterReader<'r>)
ClearFilter(ClearFilterReader<'r>)
FilteredBlock(FilteredBlockReader<'r>)
InIBD(InIBDReader<'r>)
Implementations
Trait Implementations
sourceimpl<'r> Clone for SyncMessageUnionReader<'r>
impl<'r> Clone for SyncMessageUnionReader<'r>
sourcefn clone(&self) -> SyncMessageUnionReader<'r>
fn clone(&self) -> SyncMessageUnionReader<'r>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'r> Debug for SyncMessageUnionReader<'r>
impl<'r> Debug for SyncMessageUnionReader<'r>
sourceimpl<'r> Display for SyncMessageUnionReader<'r>
impl<'r> Display for SyncMessageUnionReader<'r>
sourceimpl<'r> From<AddFilterReader<'r>> for SyncMessageUnionReader<'r>
impl<'r> From<AddFilterReader<'r>> for SyncMessageUnionReader<'r>
sourcefn from(item: AddFilterReader<'r>) -> Self
fn from(item: AddFilterReader<'r>) -> Self
Converts to this type from the input type.
sourceimpl<'r> From<ClearFilterReader<'r>> for SyncMessageUnionReader<'r>
impl<'r> From<ClearFilterReader<'r>> for SyncMessageUnionReader<'r>
sourcefn from(item: ClearFilterReader<'r>) -> Self
fn from(item: ClearFilterReader<'r>) -> Self
Converts to this type from the input type.
sourceimpl<'r> From<FilteredBlockReader<'r>> for SyncMessageUnionReader<'r>
impl<'r> From<FilteredBlockReader<'r>> for SyncMessageUnionReader<'r>
sourcefn from(item: FilteredBlockReader<'r>) -> Self
fn from(item: FilteredBlockReader<'r>) -> Self
Converts to this type from the input type.
sourceimpl<'r> From<GetBlocksReader<'r>> for SyncMessageUnionReader<'r>
impl<'r> From<GetBlocksReader<'r>> for SyncMessageUnionReader<'r>
sourcefn from(item: GetBlocksReader<'r>) -> Self
fn from(item: GetBlocksReader<'r>) -> Self
Converts to this type from the input type.
sourceimpl<'r> From<GetHeadersReader<'r>> for SyncMessageUnionReader<'r>
impl<'r> From<GetHeadersReader<'r>> for SyncMessageUnionReader<'r>
sourcefn from(item: GetHeadersReader<'r>) -> Self
fn from(item: GetHeadersReader<'r>) -> Self
Converts to this type from the input type.
sourceimpl<'r> From<InIBDReader<'r>> for SyncMessageUnionReader<'r>
impl<'r> From<InIBDReader<'r>> for SyncMessageUnionReader<'r>
sourcefn from(item: InIBDReader<'r>) -> Self
fn from(item: InIBDReader<'r>) -> Self
Converts to this type from the input type.
sourceimpl<'r> From<SendBlockReader<'r>> for SyncMessageUnionReader<'r>
impl<'r> From<SendBlockReader<'r>> for SyncMessageUnionReader<'r>
sourcefn from(item: SendBlockReader<'r>) -> Self
fn from(item: SendBlockReader<'r>) -> Self
Converts to this type from the input type.
sourceimpl<'r> From<SendHeadersReader<'r>> for SyncMessageUnionReader<'r>
impl<'r> From<SendHeadersReader<'r>> for SyncMessageUnionReader<'r>
sourcefn from(item: SendHeadersReader<'r>) -> Self
fn from(item: SendHeadersReader<'r>) -> Self
Converts to this type from the input type.
sourceimpl<'r> From<SetFilterReader<'r>> for SyncMessageUnionReader<'r>
impl<'r> From<SetFilterReader<'r>> for SyncMessageUnionReader<'r>
sourcefn from(item: SetFilterReader<'r>) -> Self
fn from(item: SetFilterReader<'r>) -> Self
Converts to this type from the input type.
impl<'r> Copy for SyncMessageUnionReader<'r>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more