Struct storage_service_client::StorageServiceNetworkSender [−][src]
pub struct StorageServiceNetworkSender { /* fields omitted */ }Expand description
The Storage Service network sender for a single network.
Trait Implementations
fn send_to(
&self,
_recipient: PeerId,
_message: StorageServiceMessage
) -> Result<(), NetworkError>
fn send_rpc<'life0, 'async_trait>(
&'life0 self,
recipient: PeerId,
message: StorageServiceMessage,
timeout: Duration
) -> Pin<Box<dyn Future<Output = Result<StorageServiceMessage, RpcError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn send_to_many(
&self,
_recipients: impl Iterator<Item = AccountAddress>,
_message: TMessage
) -> Result<(), NetworkError>
fn new(
peer_mgr_reqs_tx: PeerManagerRequestSender,
connection_reqs_tx: ConnectionRequestSender
) -> Self
Auto Trait Implementations
impl RefUnwindSafe for StorageServiceNetworkSender
impl Send for StorageServiceNetworkSender
impl Sync for StorageServiceNetworkSender
impl Unpin for StorageServiceNetworkSender
impl UnwindSafe for StorageServiceNetworkSender
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self