Struct ZirconClient
pub struct ZirconClient;
Expand description
The fake “client” produced by ProxyHasDomain
. Analogous to an FDomain client.
Implementations§
§impl ZirconClient
impl ZirconClient
pub fn create_event_pair(&self) -> (EventPair, EventPair)
pub fn create_event_pair(&self) -> (EventPair, EventPair)
Equivalent to [EventPair::create
]
pub fn create_event(&self) -> Event
pub fn create_event(&self) -> Event
Equivalent to [Event::create
]
pub fn create_stream_socket(&self) -> (Socket, Socket)
pub fn create_stream_socket(&self) -> (Socket, Socket)
Equivalent to [Socket::create_stream
]
pub fn create_datagram_socket(&self) -> (Socket, Socket)
pub fn create_datagram_socket(&self) -> (Socket, Socket)
Equivalent to [Socket::create_datagram
]
pub fn create_channel(&self) -> (Channel, Channel)
pub fn create_channel(&self) -> (Channel, Channel)
Equivalent to Channel::create
pub fn create_endpoints<T>(&self) -> (ClientEnd<T>, ServerEnd<T>)where
T: ProtocolMarker,
pub fn create_endpoints<T>(&self) -> (ClientEnd<T>, ServerEnd<T>)where
T: ProtocolMarker,
Equivalent to the module level create_endpoints
pub fn create_proxy<T>(&self) -> (<T as ProtocolMarker>::Proxy, ServerEnd<T>)where
T: ProtocolMarker,
pub fn create_proxy<T>(&self) -> (<T as ProtocolMarker>::Proxy, ServerEnd<T>)where
T: ProtocolMarker,
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