pub enum AggregateCapability {
Service(Name),
}
Expand description
Describes a capability provided by component manager that is an aggregation of multiple instances of a capability.
Variants§
Implementations§
source§impl AggregateCapability
impl AggregateCapability
sourcepub fn can_be_in_namespace(&self) -> bool
pub fn can_be_in_namespace(&self) -> bool
Returns true if the AggregateCapability can be available in a component’s namespace.
sourcepub fn type_name(&self) -> CapabilityTypeName
pub fn type_name(&self) -> CapabilityTypeName
Returns a name for the capability type.
pub fn source_name(&self) -> &Name
Trait Implementations§
source§impl Clone for AggregateCapability
impl Clone for AggregateCapability
source§fn clone(&self) -> AggregateCapability
fn clone(&self) -> AggregateCapability
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AggregateCapability
impl Debug for AggregateCapability
source§impl Display for AggregateCapability
impl Display for AggregateCapability
source§impl From<ServiceDecl> for AggregateCapability
impl From<ServiceDecl> for AggregateCapability
source§fn from(service: ServiceDecl) -> Self
fn from(service: ServiceDecl) -> Self
Converts to this type from the input type.
source§impl Hash for AggregateCapability
impl Hash for AggregateCapability
source§impl PartialEq for AggregateCapability
impl PartialEq for AggregateCapability
source§fn eq(&self, other: &AggregateCapability) -> bool
fn eq(&self, other: &AggregateCapability) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AggregateCapability
impl StructuralPartialEq for AggregateCapability
Auto Trait Implementations§
impl Freeze for AggregateCapability
impl RefUnwindSafe for AggregateCapability
impl Send for AggregateCapability
impl Sync for AggregateCapability
impl Unpin for AggregateCapability
impl UnwindSafe for AggregateCapability
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