pub enum CompositeNodeManagerRequest {
AddSpec {
payload: CompositeNodeSpec,
responder: CompositeNodeManagerAddSpecResponder,
},
_UnknownMethod {
ordinal: u64,
control_handle: CompositeNodeManagerControlHandle,
method_type: MethodType,
},
}
Expand description
Protocol through which board drivers can create composite node specs.
Composite node specs are created at runtime to dynamically bridge the static bind rules of a composite driver with the dynamic bind properties of nodes in the system so that the driver bind rules are more generic and reusable.
Variants§
AddSpec
Adds the given composite node specification to the driver framework.
_UnknownMethod
An interaction was received which does not match any known method.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
control_handle: CompositeNodeManagerControlHandle
§
method_type: MethodType
Implementations§
Source§impl CompositeNodeManagerRequest
impl CompositeNodeManagerRequest
pub fn into_add_spec( self, ) -> Option<(CompositeNodeSpec, CompositeNodeManagerAddSpecResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CompositeNodeManagerRequest
impl !RefUnwindSafe for CompositeNodeManagerRequest
impl Send for CompositeNodeManagerRequest
impl Sync for CompositeNodeManagerRequest
impl Unpin for CompositeNodeManagerRequest
impl !UnwindSafe for CompositeNodeManagerRequest
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