Struct iroh_rpc_types::p2p::FetchProvidersDhtRequest
source · pub struct FetchProvidersDhtRequest {
pub key: Key,
}
Fields§
§key: Key
Trait Implementations§
source§impl Debug for FetchProvidersDhtRequest
impl Debug for FetchProvidersDhtRequest
source§impl<'de> Deserialize<'de> for FetchProvidersDhtRequest
impl<'de> Deserialize<'de> for FetchProvidersDhtRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<FetchProvidersDhtRequest> for P2pRequest
impl From<FetchProvidersDhtRequest> for P2pRequest
source§fn from(original: FetchProvidersDhtRequest) -> P2pRequest
fn from(original: FetchProvidersDhtRequest) -> P2pRequest
Converts to this type from the input type.
source§impl Msg<P2pService> for FetchProvidersDhtRequest
impl Msg<P2pService> for FetchProvidersDhtRequest
§type Response = Result<FetchProvidersDhtResponse, RpcError>
type Response = Result<FetchProvidersDhtResponse, RpcError>
The type for the response
§type Update = FetchProvidersDhtRequest
type Update = FetchProvidersDhtRequest
The type for request updates Read more
§type Pattern = ServerStreaming
type Pattern = ServerStreaming
The interaction pattern for this message with this service.