pub struct NodeSynchronousProxy { /* private fields */ }
Implementations§
source§impl NodeSynchronousProxy
impl NodeSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
sourcepub fn wait_for_event(&self, deadline: Time) -> Result<NodeEvent, Error>
pub fn wait_for_event(&self, deadline: Time) -> Result<NodeEvent, 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 add_child(
&self,
args: NodeAddArgs,
controller: ServerEnd<NodeControllerMarker>,
node: Option<ServerEnd<NodeMarker>>,
___deadline: Time
) -> Result<NodeAddChildResult, Error>
pub fn add_child( &self, args: NodeAddArgs, controller: ServerEnd<NodeControllerMarker>, node: Option<ServerEnd<NodeMarker>>, ___deadline: Time ) -> Result<NodeAddChildResult, Error>
Adds a child node to this node.
If node
is present, this driver takes responsibility for binding to
the newly created child. Otherwise, the driver framework will locate an
appropriate driver to bind the child to.