pub enum NodeControllerRequest {
Remove {
control_handle: NodeControllerControlHandle,
},
RequestBind {
payload: NodeControllerRequestBindRequest,
responder: NodeControllerRequestBindResponder,
},
}
Expand description
Protocol through which a parent node controls one of its children.
Variants§
Remove
Fields
§
control_handle: NodeControllerControlHandle
Removes the node and all of its children.
RequestBind
Request that the framework attempts to bind a driver to this node. This is an additional request for binding as the framework attempts to bind a node once when the node is created.
- error
ZX_ERR_ALREADY_BOUND
if the node is already bound andforce_rebind
is false.
Implementations§
source§impl NodeControllerRequest
impl NodeControllerRequest
pub fn into_remove(self) -> Option<NodeControllerControlHandle>
pub fn into_request_bind( self ) -> Option<(NodeControllerRequestBindRequest, NodeControllerRequestBindResponder)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL