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