Skip to main content

Crate cm_rust

Crate cm_rust 

Source

Re-exports§

pub use crate::capability::*;
pub use crate::config::*;
pub use crate::offer::*;
pub use crate::use::*;

Modules§

capability
config
offer
use

Structs§

CapabilityTypeNameIter
An iterator over the variants of CapabilityTypeName
ChildDecl
ChildRef
CollectionDecl
ComponentDecl
DebugInfo
DebugProtocolRegistration
EnvironmentDecl
ExposeConfigurationDecl
ExposeDictionaryDecl
ExposeDirectoryDecl
ExposeProtocolDecl
ExposeResolverDecl
ExposeRunnerDecl
ExposeServiceDecl
NameMapping
ProgramDecl
ResolverRegistration
RunnerRegistration
ServiceSource
A source for a service.

Enums§

Availability
Capability availability. See Availability.
CapabilityTypeName
A named capability type.
DebugRegistration
DeliveryType
Specifies when the framework will open the protocol from the provider component’s outgoing directory when someone requests the capability. See DeliveryType.
DependencyType
DictionarySource
DictionaryValue
Error
Errors produced by cm_rust.
EventScope
ExposeDecl
ExposeSource
ExposeTarget
RegistrationSource
StorageDirectorySource

Traits§

ExposeDeclCommon
The common properties of an Expose declaration.
FidlIntoNative
Converts a fidl object into its corresponding native representation.
NativeIntoFidl
RegistrationDeclCommon
The common properties of a Registration-with-environment declaration.
SourceName
The trait for all declarations that have a source name.
SourcePath

Functions§

append_box
Append other to the end of Box<[T]>. Convenience function for clients that work with cm_rust, which uses Box<[T]> instead of Vec<T> for its list type.
push_box
Push value onto the end of Box<[T]>. Convenience function for clients that work with cm_rust, which uses Box<[T]> instead of Vec<T> for its list type.