Struct Core
pub struct Core {
services: RwLock<HashMap<Symbol, Service>>,
}Fields§
§services: RwLock<HashMap<Symbol, Service>>Implementations§
§impl Core
impl Core
fn new() -> Self
fn register_service(&self, name: Symbol, service: Service) -> Result<()>
pub(crate) fn get_service_signature( &self, name: &Symbol, ) -> Option<ServiceSignature>
fn start_service_call( &self, name: &Symbol, input: Fields, ) -> Result<BoxFuture<'static, Result<Object, Error>>, Error>
Auto Trait Implementations§
impl !Freeze for Core
impl RefUnwindSafe for Core
impl Send for Core
impl Sync for Core
impl Unpin for Core
impl UnwindSafe for Core
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