Type Alias ControllerProxy

Source
pub type ControllerProxy = ClientSender<Channel, Controller>;
Expand description

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

Aliased Type§

pub struct ControllerProxy { /* private fields */ }

Implementations

§

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

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

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<P, T> Clone for ClientSender<P, T>
where T: Transport,

§

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

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
§

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