pub struct Service<T = ExactMatchRouter> { /* private fields */ }
Implementations§
source§impl<T> Service<T>where
T: Router,
impl<T> Service<T>where T: Router,
pub fn route_message(&self, msg: RecvMsg) -> Result<(), RouteMessageError>
Trait Implementations§
Auto Trait Implementations§
impl<T = ExactMatchRouter> !RefUnwindSafe for Service<T>
impl<T> Send for Service<T>where T: Send,
impl<T> Sync for Service<T>where T: Sync,
impl<T> Unpin for Service<T>where T: Unpin,
impl<T = ExactMatchRouter> !UnwindSafe for Service<T>
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