pub struct ServiceFactory {
pub local_id: String,
pub policy: ServicePolicy,
pub dependencies: Dependencies,
/* private fields */
}Fields§
§local_id: String§policy: ServicePolicy§dependencies: DependenciesImplementations§
Source§impl ServiceFactory
impl ServiceFactory
pub fn initialize( &self, context: ExecutionContext, ) -> ServiceFuture<'static, Box<dyn ServiceInstance>>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ServiceFactory
impl !UnwindSafe for ServiceFactory
impl Freeze for ServiceFactory
impl Send for ServiceFactory
impl Sync for ServiceFactory
impl Unpin for ServiceFactory
impl UnsafeUnpin for ServiceFactory
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