pub struct DogServiceRegistry<R, P = ()>{ /* private fields */ }Expand description
A simple registry that maps service names to DogService instances.
This is the core of DogRS: named services that can be called from any transport (HTTP, CLI, jobs, P2P, etc.).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<R, P> Freeze for DogServiceRegistry<R, P>
impl<R, P = ()> !RefUnwindSafe for DogServiceRegistry<R, P>
impl<R, P> Send for DogServiceRegistry<R, P>
impl<R, P> Sync for DogServiceRegistry<R, P>
impl<R, P> Unpin for DogServiceRegistry<R, P>
impl<R, P = ()> !UnwindSafe for DogServiceRegistry<R, P>
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