pub enum DhtType {
SendingQuery,
PeerResponse,
FinalPeer,
QueryError,
Provider,
Value,
AddingPeer,
DialingPeer,
}
Expand description
See libp2p.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DhtType
impl<'de> Deserialize<'de> for DhtType
Source§fn deserialize<D>(
deserializer: D,
) -> Result<DhtType, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<DhtType, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DhtType
impl RefUnwindSafe for DhtType
impl Send for DhtType
impl Sync for DhtType
impl Unpin for DhtType
impl UnwindSafe for DhtType
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