pub struct ZirconClient;
Expand description
The fake “client” produced by ProxyHasClient
. Analogous to an FDomain client.
Implementations§
Source§impl ZirconClient
impl ZirconClient
Sourcepub fn create_event_pair(&self) -> (EventPair, EventPair)
pub fn create_event_pair(&self) -> (EventPair, EventPair)
Equivalent to [EventPair::create
]
Sourcepub fn create_event(&self) -> Event
pub fn create_event(&self) -> Event
Equivalent to [Event::create
]
Sourcepub fn create_stream_socket(&self) -> (Socket, Socket)
pub fn create_stream_socket(&self) -> (Socket, Socket)
Equivalent to [Socket::create_stream
]
Sourcepub fn create_datagram_socket(&self) -> (Socket, Socket)
pub fn create_datagram_socket(&self) -> (Socket, Socket)
Equivalent to [Socket::create_datagram
]
Sourcepub fn create_channel(&self) -> (Channel, Channel)
pub fn create_channel(&self) -> (Channel, Channel)
Equivalent to Channel::create
Sourcepub fn create_endpoints<T: ProtocolMarker>(
&self,
) -> (ClientEnd<T>, ServerEnd<T>)
pub fn create_endpoints<T: ProtocolMarker>( &self, ) -> (ClientEnd<T>, ServerEnd<T>)
Equivalent to the module level create_endpoints
Sourcepub fn create_proxy<T: ProtocolMarker>(&self) -> (T::Proxy, ServerEnd<T>)
pub fn create_proxy<T: ProtocolMarker>(&self) -> (T::Proxy, ServerEnd<T>)
Equivalent to the module level create_proxy
Auto Trait Implementations§
impl Freeze for ZirconClient
impl RefUnwindSafe for ZirconClient
impl Send for ZirconClient
impl Sync for ZirconClient
impl Unpin for ZirconClient
impl UnwindSafe for ZirconClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more