Type Alias FileProxy

Source
pub type FileProxy = ClientSender<Channel, File>;
Expand description

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

Aliased Type§

pub struct FileProxy { /* 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 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> Deref for ClientSender<P, T>
where P: Protocol<T>, T: Transport,

§

type Target = <P as Protocol<T>>::ClientSender

The resulting type after dereferencing.
§

fn deref(&self) -> &<ClientSender<P, T> as Deref>::Target

Dereferences the value.
§

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