pub enum NodeRequest {
AddChild {
args: NodeAddArgs,
controller: ServerEnd<NodeControllerMarker>,
node: Option<ServerEnd<NodeMarker>>,
responder: NodeAddChildResponder,
},
}
Expand description
Protocol through which a driver manages a node that it is bound to.
Variants§
AddChild
Fields
§
args: NodeAddArgs
§
controller: ServerEnd<NodeControllerMarker>
§
node: Option<ServerEnd<NodeMarker>>
§
responder: NodeAddChildResponder
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.
Implementations§
source§impl NodeRequest
impl NodeRequest
pub fn into_add_child( self ) -> Option<(NodeAddArgs, ServerEnd<NodeControllerMarker>, Option<ServerEnd<NodeMarker>>, NodeAddChildResponder)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL