Struct muxrpc::PeerSync [] [src]

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

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

Methods

impl<W: AsyncWrite> PeerSync<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 PeerSync<W>

impl<W> !Sync for PeerSync<W>