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,
impl<T, P> ClientSender<T, P>where
T: Transport,
pub fn wrap_untyped(client: &ClientSender<T>) -> &ClientSender<T, P>
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>
pub fn as_untyped(&self) -> &ClientSender<T>
Returns the underlying untyped sender.
pub fn close(&self)
pub fn close(&self)
Closes the channel from the client end.