[][src]Struct xi_rpc::RawPeer

pub struct RawPeer<W: Write + 'static>(_);

An interface to access the other side of the RPC channel. The main purpose is to send RPC requests and notifications to the peer.

A single shared RawPeer exists for each RpcLoop; a reference can be taken with RpcLoop::get_peer().

In general, RawPeer shouldn't be used directly, but behind a pointer as the Peer trait object.

Trait Implementations

impl<W: Write + Send + 'static> Peer for RawPeer<W>[src]

impl<W: Write> Clone for RawPeer<W>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<W> Send for RawPeer<W> where
    W: Send

impl<W> Unpin for RawPeer<W>

impl<W> Sync for RawPeer<W> where
    W: Send

impl<W> !UnwindSafe for RawPeer<W>

impl<W> !RefUnwindSafe for RawPeer<W>

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]