pub struct CompositeNodeSpecManager { /* private fields */ }Implementations§
Source§impl CompositeNodeSpecManager
impl CompositeNodeSpecManager
pub fn new(bridge: Box<dyn CompositeManagerBridge>) -> Self
pub async fn add_spec( &self, fidl_spec: CompositeNodeSpec, spec: CompositeNodeSpec, ) -> Result<(), CompositeNodeSpecError>
pub fn bind_parent_spec( &self, composite_parents: &[CompositeParent], node_ptr: Weak<Node>, enable_multibind: bool, ) -> Result<BindSpecResult, Status>
pub async fn rebind( &self, spec_name: String, restart_driver_url_suffix: Option<String>, ) -> Result<(), Status>
pub fn get_composite_info(&self) -> Vec<CompositeNodeInfo>
Auto Trait Implementations§
impl !Freeze for CompositeNodeSpecManager
impl !RefUnwindSafe for CompositeNodeSpecManager
impl !Send for CompositeNodeSpecManager
impl !Sync for CompositeNodeSpecManager
impl Unpin for CompositeNodeSpecManager
impl !UnwindSafe for CompositeNodeSpecManager
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, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§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]Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more