pub enum Message {
Show 28 variants
Unknown(u8),
Ping(Ping),
Pong(Pong),
BanReason(BanReason),
TransactionKernel(Hash),
GetTransaction(Hash),
Transaction(Transaction),
StemTransaction(Transaction),
GetBlock(Hash),
Block(UntrustedBlock),
GetCompactBlock(Hash),
CompactBlock(UntrustedCompactBlock),
GetHeaders(Locator),
Header(UntrustedBlockHeader),
Headers(HeadersData),
GetPeerAddrs(GetPeerAddrs),
PeerAddrs(PeerAddrs),
TxHashSetRequest(TxHashSetRequest),
TxHashSetArchive(TxHashSetArchive),
Attachment(AttachmentUpdate, Option<Bytes>),
GetOutputBitmapSegment(SegmentRequest),
OutputBitmapSegment(OutputBitmapSegmentResponse),
GetOutputSegment(SegmentRequest),
OutputSegment(OutputSegmentResponse),
GetRangeProofSegment(SegmentRequest),
RangeProofSegment(SegmentResponse<RangeProof>),
GetKernelSegment(SegmentRequest),
KernelSegment(SegmentResponse<TxKernel>),
}
Variants§
Unknown(u8)
Ping(Ping)
Pong(Pong)
BanReason(BanReason)
TransactionKernel(Hash)
GetTransaction(Hash)
Transaction(Transaction)
StemTransaction(Transaction)
GetBlock(Hash)
Block(UntrustedBlock)
GetCompactBlock(Hash)
CompactBlock(UntrustedCompactBlock)
GetHeaders(Locator)
Header(UntrustedBlockHeader)
Headers(HeadersData)
GetPeerAddrs(GetPeerAddrs)
PeerAddrs(PeerAddrs)
TxHashSetRequest(TxHashSetRequest)
TxHashSetArchive(TxHashSetArchive)
Attachment(AttachmentUpdate, Option<Bytes>)
GetOutputBitmapSegment(SegmentRequest)
OutputBitmapSegment(OutputBitmapSegmentResponse)
GetOutputSegment(SegmentRequest)
OutputSegment(OutputSegmentResponse)
GetRangeProofSegment(SegmentRequest)
RangeProofSegment(SegmentResponse<RangeProof>)
GetKernelSegment(SegmentRequest)
KernelSegment(SegmentResponse<TxKernel>)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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