Type Alias DataRouterProxy

Source
pub type DataRouterProxy = ClientSender<Channel, DataRouter>;
Expand description

An alias for a client sender over zx::Channel for the DataRouter protocol.

Aliased Type§

struct DataRouterProxy { /* private fields */ }

Implementations

§

impl<T, P> ClientSender<T, P>
where T: Transport,

pub fn wrap_untyped(client: &ClientSender<T>) -> &ClientSender<T, P>

Wraps an untyped sender reference, returning a typed sender reference.

pub fn as_untyped(&self) -> &ClientSender<T>

Returns the underlying untyped sender.

pub fn close(&self)

Closes the channel from the client end.

Trait Implementations

§

impl<T, P> Clone for ClientSender<T, P>
where T: Transport,

§

fn clone(&self) -> ClientSender<T, P>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<___T> DataRouterClientSender for ClientSender<___T, DataRouter>
where ___T: Transport,

Source§

type Transport = ___T

Source§

fn route<___R>( &self, request: &mut ___R, ) -> Result<ResponseFuture<'_, Self::Transport, Route>, EncodeError>
where ___R: Encode<<Self::Transport as Transport>::SendBuffer, Encoded = WireRouteRequest>,

§

impl<T, P> Send for ClientSender<T, P>
where T: Transport, ClientSender<T>: Send,