[−][src]Enum lib3h::dht::dht_protocol::DhtEvent
Variants
GossipTo(GossipToData)
Ask owner to send this binary gossip bundle to the specified list of peerAddress' in a reliable manner.
GossipUnreliablyTo(GossipToData)
Ask owner to send this binary gossip bundle to as many peers listed in peerList as possible. It is okay if not all peers on the list receive the message.
HoldPeerRequested(PeerData)
Notify owner that gossip is requesting we hold a peer discovery data item.
PeerTimedOut(String)
Notify owner that we believe a peer has dropped
HoldEntryRequested(FromPeerAddress, EntryData)
Notify owner that gossip is requesting we hold an entry. String argument is: from_peer_address
EntryDataRequested(FetchDhtEntryData)
DHT wants an entry in order to send it to someone on the network
FetchEntryResponse(FetchDhtEntryResponseData)
Response to a FetchEntry
command.
EntryPruned(Address)
Notify owner that we are no longer tracking this entry internally. Owner should purge this address from storage, but they can, of course, choose not to.
Trait Implementations
impl PartialEq<DhtEvent> for DhtEvent
[src]
impl Clone for DhtEvent
[src]
fn clone(&self) -> DhtEvent
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for DhtEvent
[src]
Auto Trait Implementations
impl Sync for DhtEvent
impl Send for DhtEvent
impl Unpin for DhtEvent
impl RefUnwindSafe for DhtEvent
impl UnwindSafe for DhtEvent
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Clone for T where
T: Clone,
[src]
T: Clone,
impl<T> Same<T> for T
type Output = T
Should always be Self