pub struct NodeManagerSynchronousProxy { /* private fields */ }Implementations§
Source§impl NodeManagerSynchronousProxy
impl NodeManagerSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<NodeManagerEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<NodeManagerEvent, 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_node(
&self,
node: &Node2,
controller: ServerEnd<NodeControllerMarker>,
node_ref: Option<ServerEnd<NodeMarker>>,
___deadline: MonotonicInstant,
) -> Result<NodeManagerAddNodeResult, Error>
pub fn add_node( &self, node: &Node2, controller: ServerEnd<NodeControllerMarker>, node_ref: Option<ServerEnd<NodeMarker>>, ___deadline: MonotonicInstant, ) -> Result<NodeManagerAddNodeResult, Error>
Adds a Node2 to the driver framework.
Trait Implementations§
Source§impl Debug for NodeManagerSynchronousProxy
impl Debug for NodeManagerSynchronousProxy
Source§impl From<Channel> for NodeManagerSynchronousProxy
Available on Fuchsia only.
impl From<Channel> for NodeManagerSynchronousProxy
Available on Fuchsia only.
Source§impl From<NodeManagerSynchronousProxy> for NullableHandle
Available on Fuchsia only.
impl From<NodeManagerSynchronousProxy> for NullableHandle
Available on Fuchsia only.
Source§fn from(value: NodeManagerSynchronousProxy) -> Self
fn from(value: NodeManagerSynchronousProxy) -> Self
Converts to this type from the input type.
Source§impl FromClient for NodeManagerSynchronousProxy
Available on Fuchsia only.
impl FromClient for NodeManagerSynchronousProxy
Available on Fuchsia only.
Source§type Protocol = NodeManagerMarker
type Protocol = NodeManagerMarker
The protocol.
Source§fn from_client(value: ClientEnd<NodeManagerMarker>) -> Self
fn from_client(value: ClientEnd<NodeManagerMarker>) -> Self
Converts from a client.
Source§impl SynchronousProxy for NodeManagerSynchronousProxy
Available on Fuchsia only.
impl SynchronousProxy for NodeManagerSynchronousProxy
Available on Fuchsia only.
Source§type Proxy = NodeManagerProxy
type Proxy = NodeManagerProxy
The async proxy for the same protocol.
Source§type Protocol = NodeManagerMarker
type Protocol = NodeManagerMarker
The protocol which this
Proxy controls.Source§fn from_channel(inner: Channel) -> Self
fn from_channel(inner: Channel) -> Self
Create a proxy over the given channel.
Source§fn into_channel(self) -> Channel
fn into_channel(self) -> Channel
Convert the proxy back into a channel.
Source§fn as_channel(&self) -> &Channel
fn as_channel(&self) -> &Channel
Get a reference to the proxy’s underlying channel. Read more
Auto Trait Implementations§
impl Freeze for NodeManagerSynchronousProxy
impl RefUnwindSafe for NodeManagerSynchronousProxy
impl Send for NodeManagerSynchronousProxy
impl Sync for NodeManagerSynchronousProxy
impl Unpin for NodeManagerSynchronousProxy
impl UnsafeUnpin for NodeManagerSynchronousProxy
impl UnwindSafe for NodeManagerSynchronousProxy
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