pub struct AppLoader { /* private fields */ }Expand description
An AppLoader holds an implementation of Loader along with
[DynamicHostComponents] configuration.
Implementations§
source§impl AppLoader
impl AppLoader
sourcepub fn add_dynamic_host_component<T: Send + Sync, DHC: DynamicHostComponent>(
&mut self,
engine_builder: &mut EngineBuilder<T>,
host_component: DHC
) -> Result<()>
pub fn add_dynamic_host_component<T: Send + Sync, DHC: DynamicHostComponent>(
&mut self,
engine_builder: &mut EngineBuilder<T>,
host_component: DHC
) -> Result<()>
Adds a DynamicHostComponent to the given EngineBuilder and
configures this AppLoader to update it on component instantiation.
This calls EngineBuilder::add_host_component for you; it should not
be called separately.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for AppLoader
impl Send for AppLoader
impl Sync for AppLoader
impl Unpin for AppLoader
impl !UnwindSafe for AppLoader
Blanket Implementations§
§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self file descriptor.