pub struct MeshControllerSynchronousProxy { /* private fields */ }
Implementations§
source§impl MeshControllerSynchronousProxy
impl MeshControllerSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
sourcepub fn wait_for_event(
&self,
deadline: Time
) -> Result<MeshControllerEvent, Error>
pub fn wait_for_event( &self, deadline: Time ) -> Result<MeshControllerEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
sourcepub fn attach_socket_link(&self, socket: Socket) -> Result<(), Error>
pub fn attach_socket_link(&self, socket: Socket) -> Result<(), Error>
Attach a socket as a new link.