Struct crows_utils::services::DummyWorkerService
source · pub struct DummyWorkerService;
Trait Implementations§
source§impl<T> Service<DummyWorkerService> for T
impl<T> Service<DummyWorkerService> for T
type Request = WorkerRequest
type Response = WorkerResponse
type Client = WorkerToCoordinatorClient
fn handle_request( &self, client: Self::Client, message: Self::Request ) -> Pin<Box<dyn Future<Output = Self::Response> + Send + '_>>
Auto Trait Implementations§
impl Freeze for DummyWorkerService
impl RefUnwindSafe for DummyWorkerService
impl Send for DummyWorkerService
impl Sync for DummyWorkerService
impl Unpin for DummyWorkerService
impl UnwindSafe for DummyWorkerService
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