pub struct DispatcherBuilder { /* private fields */ }Expand description
Builder for creating multi-service dispatchers
Implementations§
Source§impl DispatcherBuilder
impl DispatcherBuilder
Sourcepub fn add_service<S>(self, service: S) -> Selfwhere
S: ServiceDispatch,
pub fn add_service<S>(self, service: S) -> Selfwhere
S: ServiceDispatch,
Add a service to the dispatcher
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DispatcherBuilder
impl !RefUnwindSafe for DispatcherBuilder
impl Send for DispatcherBuilder
impl Sync for DispatcherBuilder
impl Unpin for DispatcherBuilder
impl !UnwindSafe for DispatcherBuilder
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