pub struct Node;Expand description
The type corresponding to the Node protocol.
Protocol through which a driver manages a node that it is bound to.
Drivers should maintain their client connection to the node. Dropping
the client connection while the driver is running will cause the
driver framework to remove the driver and node from the topology.
If the driver has set host_restart_on_crash to “true” in their
component manifest, dropping the connection will initiate a restart of
the driver host and driver.
Trait Implementations§
Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for Nodewhere
___H: NodeClientHandler<___T> + Send,
___T: Transport,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for Nodewhere
___H: NodeClientHandler<___T> + Send,
___T: Transport,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for Nodewhere
___H: NodeServerHandler<___T> + Send,
___T: Transport,
for<'de> NodeAddChildRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for Nodewhere
___H: NodeServerHandler<___T> + Send,
___T: Transport,
for<'de> NodeAddChildRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
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
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]