Skip to main content

HostProviderComponentRegistration

Trait HostProviderComponentRegistration 

Source
pub trait HostProviderComponentRegistration<Profile>: HostProviderComponent + Sized
where Profile: HostComponentProfile<Self>,
{ // Required method fn providers( ) -> Result<Vec<HostProviderModule<Profile>>, HostRegistrationError>; }
Expand description

Registers the source-backed provider modules exported by one component.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<Profile, Io> HostProviderComponentRegistration<Profile> for geam::gleam_stdlib::Component<Io>
where Profile: GleamStdlibHostProfile<Io = Io>, Io: IoSink + 'static,

Source§

impl<Profile, Source> HostProviderComponentRegistration<Profile> for geam::gleam_time::Component<Source>
where Profile: GleamTimeHostProfile<Source = Source>, Source: TimeSource,

Source§

impl<Profile> HostProviderComponentRegistration<Profile> for geam::gleam_json::Component
where Profile: GleamJsonHostProfile,