cm_rust

Trait FidlIntoNative

Source
pub trait FidlIntoNative<T> {
    // Required method
    fn fidl_into_native(self) -> T;
}
Expand description

Converts a fidl object into its corresponding native representation.

Required Methods§

Implementations on Foreign Types§

Source§

impl FidlIntoNative<Durability> for Durability

Source§

impl FidlIntoNative<EnvironmentExtends> for EnvironmentExtends

Source§

impl FidlIntoNative<OnTerminate> for OnTerminate

Source§

impl FidlIntoNative<StartupMode> for StartupMode

Source§

impl FidlIntoNative<StorageId> for StorageId

Source§

impl FidlIntoNative<Availability> for Availability

Source§

impl FidlIntoNative<CapabilityDecl> for Capability

Source§

impl FidlIntoNative<CapabilityTypeName> for String

Source§

impl FidlIntoNative<ConfigChecksum> for ConfigChecksum

Source§

impl FidlIntoNative<ConfigNestedValueType> for ConfigType

Source§

impl FidlIntoNative<ConfigSingleValue> for ConfigSingleValue

Source§

impl FidlIntoNative<ConfigValue> for ConfigValue

Source§

impl FidlIntoNative<ConfigValueSource> for ConfigValueSource

Source§

impl FidlIntoNative<ConfigValueType> for ConfigType

Source§

impl FidlIntoNative<ConfigVectorValue> for ConfigVectorValue

Source§

impl FidlIntoNative<DebugRegistration> for DebugRegistration

Source§

impl FidlIntoNative<DeliveryType> for DeliveryType

Source§

impl FidlIntoNative<DependencyType> for DependencyType

Source§

impl FidlIntoNative<DictionarySource> for Ref

Source§

impl FidlIntoNative<DictionaryValue> for Option<Box<DictionaryValue>>

Source§

impl FidlIntoNative<EventScope> for Ref

Source§

impl FidlIntoNative<ExposeDecl> for Expose

Source§

impl FidlIntoNative<ExposeSource> for Ref

Source§

impl FidlIntoNative<ExposeTarget> for Ref

Source§

impl FidlIntoNative<OfferDecl> for Offer

Source§

impl FidlIntoNative<OfferSource> for Ref

Source§

impl FidlIntoNative<OfferTarget> for Ref

Source§

impl FidlIntoNative<RegistrationSource> for Ref

Source§

impl FidlIntoNative<StorageDirectorySource> for Ref

Source§

impl FidlIntoNative<UseDecl> for Use

Source§

impl FidlIntoNative<UseSource> for Ref

Source§

impl FidlIntoNative<bool> for bool

Source§

impl FidlIntoNative<i8> for i8

Source§

impl FidlIntoNative<i16> for i16

Source§

impl FidlIntoNative<i32> for i32

Source§

impl FidlIntoNative<i64> for i64

Source§

impl FidlIntoNative<u8> for u8

Source§

impl FidlIntoNative<u16> for u16

Source§

impl FidlIntoNative<u32> for u32

Source§

impl FidlIntoNative<u64> for u64

Source§

impl FidlIntoNative<Dictionary> for Dictionary

Source§

impl FidlIntoNative<Operations> for Operations

Source§

impl FidlIntoNative<BTreeMap<String, DictionaryValue>> for Dictionary

Source§

impl FidlIntoNative<String> for String

Source§

impl FidlIntoNative<Vec<HandleInfo>> for Vec<HandleInfo>

Source§

impl FidlIntoNative<Vec<BoundedName<cm_types::::Name::{constant#0}>>> for Vec<Name>

Source§

fn fidl_into_native(self) -> Vec<Name>

Source§

impl FidlIntoNative<HashMap<String, DictionaryValue>> for Dictionary

Source§

impl FidlIntoNative<ChildDecl> for Child

Source§

impl FidlIntoNative<ChildRef> for ChildRef

Source§

impl FidlIntoNative<CollectionDecl> for Collection

Source§

impl FidlIntoNative<ComponentDecl> for Component

Source§

impl FidlIntoNative<ConfigDecl> for ConfigSchema

Source§

impl FidlIntoNative<ConfigField> for ConfigField

Source§

impl FidlIntoNative<ConfigMutability> for ConfigMutability

Source§

impl FidlIntoNative<ConfigOverride> for ConfigOverride

Source§

impl FidlIntoNative<ConfigSourceCapabilities> for ConfigSourceCapabilities

Source§

impl FidlIntoNative<ConfigValueSpec> for ConfigValueSpec

Source§

impl FidlIntoNative<ConfigValuesData> for ConfigValuesData

Source§

impl FidlIntoNative<ConfigurationDecl> for Configuration

Source§

impl FidlIntoNative<DebugProtocolRegistration> for DebugProtocolRegistration

Source§

impl FidlIntoNative<DictionaryDecl> for Dictionary

Source§

impl FidlIntoNative<DirectoryDecl> for Directory

Source§

impl FidlIntoNative<EnvironmentDecl> for Environment

Source§

impl FidlIntoNative<EventStreamDecl> for EventStream

Source§

impl FidlIntoNative<ExposeConfigurationDecl> for ExposeConfiguration

Source§

impl FidlIntoNative<ExposeDictionaryDecl> for ExposeDictionary

Source§

impl FidlIntoNative<ExposeDirectoryDecl> for ExposeDirectory

Source§

impl FidlIntoNative<ExposeProtocolDecl> for ExposeProtocol

Source§

impl FidlIntoNative<ExposeResolverDecl> for ExposeResolver

Source§

impl FidlIntoNative<ExposeRunnerDecl> for ExposeRunner

Source§

impl FidlIntoNative<ExposeServiceDecl> for ExposeService

Source§

impl FidlIntoNative<NameMapping> for NameMapping

Source§

impl FidlIntoNative<OfferConfigurationDecl> for OfferConfiguration

Source§

impl FidlIntoNative<OfferDictionaryDecl> for OfferDictionary

Source§

impl FidlIntoNative<OfferDirectoryDecl> for OfferDirectory

Source§

impl FidlIntoNative<OfferEventStreamDecl> for OfferEventStream

Source§

impl FidlIntoNative<OfferProtocolDecl> for OfferProtocol

Source§

impl FidlIntoNative<OfferResolverDecl> for OfferResolver

Source§

impl FidlIntoNative<OfferRunnerDecl> for OfferRunner

Source§

impl FidlIntoNative<OfferServiceDecl> for OfferService

Source§

impl FidlIntoNative<OfferStorageDecl> for OfferStorage

Source§

impl FidlIntoNative<ProgramDecl> for Program

Source§

impl FidlIntoNative<ProtocolDecl> for Protocol

Source§

impl FidlIntoNative<ResolverDecl> for Resolver

Source§

impl FidlIntoNative<ResolverRegistration> for ResolverRegistration

Source§

impl FidlIntoNative<RunnerDecl> for Runner

Source§

impl FidlIntoNative<RunnerRegistration> for RunnerRegistration

Source§

impl FidlIntoNative<ServiceDecl> for Service

Source§

impl FidlIntoNative<StorageDecl> for Storage

Source§

impl FidlIntoNative<UseConfigurationDecl> for UseConfiguration

Source§

impl FidlIntoNative<UseDirectoryDecl> for UseDirectory

Source§

impl FidlIntoNative<UseEventStreamDecl> for UseEventStream

Source§

impl FidlIntoNative<UseProtocolDecl> for UseProtocol

Source§

impl FidlIntoNative<UseRunnerDecl> for UseRunner

Source§

impl FidlIntoNative<UseServiceDecl> for UseService

Source§

impl FidlIntoNative<UseStorageDecl> for UseStorage

Source§

impl FidlIntoNative<AllowedOffers> for AllowedOffers

Source§

fn fidl_into_native(self) -> AllowedOffers

Source§

impl FidlIntoNative<BoundedName<cm_types::::LongName::{constant#0}>> for String

Source§

fn fidl_into_native(self) -> LongName

Source§

impl FidlIntoNative<BoundedName<cm_types::::Name::{constant#0}>> for String

Source§

fn fidl_into_native(self) -> Name

Source§

impl FidlIntoNative<Path> for String

Source§

fn fidl_into_native(self) -> Path

Source§

impl FidlIntoNative<RelativePath> for String

Source§

fn fidl_into_native(self) -> RelativePath

Source§

impl FidlIntoNative<Url> for String

Source§

fn fidl_into_native(self) -> Url

Source§

impl FidlIntoNative<[u8; 32]> for [u8; 32]

Source§

impl<Native, Fidl> FidlIntoNative<Vec<Native>> for Vec<Fidl>
where Fidl: FidlIntoNative<Native>,

Source§

fn fidl_into_native(self) -> Vec<Native>

Implementors§