pub enum WirePayload {
Show 25 variants
PexOffer(PexOffer),
PexRequest(PexRequest),
FindNode(FindNode),
FindValue(FindValue),
Store(Store),
GetManifest(GetManifest),
ManifestData(ManifestData),
ListPublicShares(ListPublicShares),
PublicShareList(PublicShareList),
GetCommunityStatus(GetCommunityStatus),
CommunityStatus(CommunityStatus),
ListCommunityPublicShares(ListCommunityPublicShares),
CommunityPublicShareList(CommunityPublicShareList),
RelayRegister(RelayRegister),
RelayRegistered(RelayRegistered),
RelayConnect(RelayConnect),
RelayStream(RelayStream),
RelayListRequest(RelayListRequest),
RelayListResponse(RelayListResponse),
Providers(Providers),
HaveContent(HaveContent),
GetChunk(GetChunk),
ChunkData(ChunkData),
GetChunkHashes(GetChunkHashes),
ChunkHashList(ChunkHashList),
}Expand description
Typed envelope payloads used by dispatcher-style message handling.
Variants§
PexOffer(PexOffer)
PexRequest(PexRequest)
FindNode(FindNode)
FindValue(FindValue)
Store(Store)
GetManifest(GetManifest)
ManifestData(ManifestData)
GetCommunityStatus(GetCommunityStatus)
CommunityStatus(CommunityStatus)
RelayRegister(RelayRegister)
RelayRegistered(RelayRegistered)
RelayConnect(RelayConnect)
RelayStream(RelayStream)
RelayListRequest(RelayListRequest)
RelayListResponse(RelayListResponse)
Providers(Providers)
HaveContent(HaveContent)
GetChunk(GetChunk)
ChunkData(ChunkData)
GetChunkHashes(GetChunkHashes)
ChunkHashList(ChunkHashList)
Implementations§
Trait Implementations§
Source§impl Clone for WirePayload
impl Clone for WirePayload
Source§fn clone(&self) -> WirePayload
fn clone(&self) -> WirePayload
Returns a duplicate 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 Debug for WirePayload
impl Debug for WirePayload
Source§impl PartialEq for WirePayload
impl PartialEq for WirePayload
impl Eq for WirePayload
impl StructuralPartialEq for WirePayload
Auto Trait Implementations§
impl Freeze for WirePayload
impl RefUnwindSafe for WirePayload
impl Send for WirePayload
impl Sync for WirePayload
impl Unpin for WirePayload
impl UnsafeUnpin for WirePayload
impl UnwindSafe for WirePayload
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