pub struct P2pService;
Trait Implementations§
Source§impl Clone for P2pService
impl Clone for P2pService
Source§fn clone(&self) -> P2pService
fn clone(&self) -> P2pService
Returns a copy 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 P2pService
impl Debug for P2pService
Source§impl Msg<P2pService> for FetchProvidersDhtRequest
impl Msg<P2pService> for FetchProvidersDhtRequest
Source§type Update = FetchProvidersDhtRequest
type Update = FetchProvidersDhtRequest
The type for request updates Read more
Source§type Pattern = ServerStreaming
type Pattern = ServerStreaming
The interaction pattern for this message with this service.
Source§impl Msg<P2pService> for WatchRequest
impl Msg<P2pService> for WatchRequest
Source§type Response = WatchResponse
type Response = WatchResponse
The type for the response
Source§type Update = WatchRequest
type Update = WatchRequest
The type for request updates Read more
Source§type Pattern = ServerStreaming
type Pattern = ServerStreaming
The interaction pattern for this message with this service.
Source§impl RpcMsg<P2pService> for BitswapRequest
impl RpcMsg<P2pService> for BitswapRequest
Source§impl RpcMsg<P2pService> for ConnectByPeerIdRequest
impl RpcMsg<P2pService> for ConnectByPeerIdRequest
Source§impl RpcMsg<P2pService> for ConnectRequest
impl RpcMsg<P2pService> for ConnectRequest
Source§impl RpcMsg<P2pService> for DisconnectRequest
impl RpcMsg<P2pService> for DisconnectRequest
Source§impl RpcMsg<P2pService> for ExternalAddrsRequest
impl RpcMsg<P2pService> for ExternalAddrsRequest
Source§impl RpcMsg<P2pService> for GetListeningAddrsRequest
impl RpcMsg<P2pService> for GetListeningAddrsRequest
Source§impl RpcMsg<P2pService> for GetPeersRequest
impl RpcMsg<P2pService> for GetPeersRequest
Source§impl RpcMsg<P2pService> for GossipsubAllPeersRequest
impl RpcMsg<P2pService> for GossipsubAllPeersRequest
Source§impl RpcMsg<P2pService> for GossipsubMeshPeersRequest
impl RpcMsg<P2pService> for GossipsubMeshPeersRequest
Source§impl RpcMsg<P2pService> for GossipsubPublishRequest
impl RpcMsg<P2pService> for GossipsubPublishRequest
Source§impl RpcMsg<P2pService> for GossipsubSubscribeRequest
impl RpcMsg<P2pService> for GossipsubSubscribeRequest
Source§impl RpcMsg<P2pService> for GossipsubTopicsRequest
impl RpcMsg<P2pService> for GossipsubTopicsRequest
Source§impl RpcMsg<P2pService> for ListenersRequest
impl RpcMsg<P2pService> for ListenersRequest
Source§impl RpcMsg<P2pService> for LocalPeerIdRequest
impl RpcMsg<P2pService> for LocalPeerIdRequest
Source§impl RpcMsg<P2pService> for LookupLocalRequest
impl RpcMsg<P2pService> for LookupLocalRequest
Source§impl RpcMsg<P2pService> for LookupRequest
impl RpcMsg<P2pService> for LookupRequest
Source§impl RpcMsg<P2pService> for ShutdownRequest
impl RpcMsg<P2pService> for ShutdownRequest
Source§impl RpcMsg<P2pService> for StartProvidingRequest
impl RpcMsg<P2pService> for StartProvidingRequest
Source§impl RpcMsg<P2pService> for StopProvidingRequest
impl RpcMsg<P2pService> for StopProvidingRequest
Source§impl RpcMsg<P2pService> for StopSessionBitswapRequest
impl RpcMsg<P2pService> for StopSessionBitswapRequest
Source§impl RpcMsg<P2pService> for VersionRequest
impl RpcMsg<P2pService> for VersionRequest
Source§type Response = VersionResponse
type Response = VersionResponse
The type for the response Read more
Source§impl Service for P2pService
impl Service for P2pService
Source§type Req = P2pRequest
type Req = P2pRequest
Type of request messages
Source§type Res = P2pResponse
type Res = P2pResponse
Type of response messages
Auto Trait Implementations§
impl Freeze for P2pService
impl RefUnwindSafe for P2pService
impl Send for P2pService
impl Sync for P2pService
impl Unpin for P2pService
impl UnwindSafe for P2pService
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more