pub struct ConfigFactory {
pub type_id: fn() -> TypeId,
pub create_fn: fn(Arc<ConfigManager>) -> ContextResult<ComponentInstance>,
}Fields§
§type_id: fn() -> TypeId§create_fn: fn(Arc<ConfigManager>) -> ContextResult<ComponentInstance>Trait Implementations§
impl Collect for ConfigFactory
Auto Trait Implementations§
impl Freeze for ConfigFactory
impl RefUnwindSafe for ConfigFactory
impl Send for ConfigFactory
impl Sync for ConfigFactory
impl Unpin for ConfigFactory
impl UnsafeUnpin for ConfigFactory
impl UnwindSafe for ConfigFactory
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