Struct muxrpc::PeerAsync [] [src]

pub struct PeerAsync<W: AsyncWrite> { /* fields omitted */ }

An async initiated by the peer. Drop to ignore it, or use respond or respond_err to send a response.

Methods

impl<W: AsyncWrite> PeerAsync<W>
[src]

[src]

Send the given response to the peer.

[src]

Send the given error response to the peer.

Trait Implementations

Auto Trait Implementations

impl<W> !Send for PeerAsync<W>

impl<W> !Sync for PeerAsync<W>