pub struct Registar { /* private fields */ }Expand description
The Registar manages the ServiceRegistry.
Implementations§
Source§impl Registar
impl Registar
pub fn new(register: ServiceRegistry) -> Self
Sourcepub fn give_form(&self) -> ServiceRegistrationForm
pub fn give_form(&self) -> ServiceRegistrationForm
Registers a Service
Sourcepub fn entries(&self) -> ServiceRegistry
pub fn entries(&self) -> ServiceRegistry
Returns the ServiceRegistry of services
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Registar
impl !UnwindSafe for Registar
impl Freeze for Registar
impl Send for Registar
impl Sync for Registar
impl Unpin for Registar
impl UnsafeUnpin for Registar
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