pub struct TestEmitService<S, Response, IdType> { /* private fields */ }Expand description
A generic service that emits the result of a test
Trait Implementations§
Source§impl<S: Clone, Response: Clone, IdType: Clone> Clone for TestEmitService<S, Response, IdType>
impl<S: Clone, Response: Clone, IdType: Clone> Clone for TestEmitService<S, Response, IdType>
Source§fn clone(&self) -> TestEmitService<S, Response, IdType>
fn clone(&self) -> TestEmitService<S, Response, IdType>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<S: Debug, Response: Debug, IdType: Debug> Debug for TestEmitService<S, Response, IdType>
impl<S: Debug, Response: Debug, IdType: Debug> Debug for TestEmitService<S, Response, IdType>
Source§impl<S, Args, Ctx, Res, IdType> Service<Task<Args, Ctx, IdType>> for TestEmitService<S, Res, IdType>
impl<S, Args, Ctx, Res, IdType> Service<Task<Args, Ctx, IdType>> for TestEmitService<S, Res, IdType>
Source§type Future = Pin<Box<dyn Future<Output = Result<<TestEmitService<S, Res, IdType> as Service<Task<Args, Ctx, IdType>>>::Response, <TestEmitService<S, Res, IdType> as Service<Task<Args, Ctx, IdType>>>::Error>> + Send>>
type Future = Pin<Box<dyn Future<Output = Result<<TestEmitService<S, Res, IdType> as Service<Task<Args, Ctx, IdType>>>::Response, <TestEmitService<S, Res, IdType> as Service<Task<Args, Ctx, IdType>>>::Error>> + Send>>
The future response value.
Auto Trait Implementations§
impl<S, Response, IdType> Freeze for TestEmitService<S, Response, IdType>where
S: Freeze,
impl<S, Response, IdType> !RefUnwindSafe for TestEmitService<S, Response, IdType>
impl<S, Response, IdType> Send for TestEmitService<S, Response, IdType>
impl<S, Response, IdType> Sync for TestEmitService<S, Response, IdType>
impl<S, Response, IdType> Unpin for TestEmitService<S, Response, IdType>where
S: Unpin,
impl<S, Response, IdType> !UnwindSafe for TestEmitService<S, Response, IdType>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<Args, Ctx, S, B> IntoWorkerService<B, S, Args, Ctx> for S
impl<Args, Ctx, S, B> IntoWorkerService<B, S, Args, Ctx> for S
Source§fn into_service(self, _: &B) -> S
fn into_service(self, _: &B) -> S
Build the service from the backend
Source§impl<T, Args, Ctx, Svc, B, M> IntoWorkerServiceExt<Args, Ctx, Svc, B, M> for T
impl<T, Args, Ctx, Svc, B, M> IntoWorkerServiceExt<Args, Ctx, Svc, B, M> for T
Source§fn build_with(
self,
builder: WorkerBuilder<Args, Ctx, B, M>,
) -> Worker<Args, Ctx, B, Svc, M>
fn build_with( self, builder: WorkerBuilder<Args, Ctx, B, M>, ) -> Worker<Args, Ctx, B, Svc, M>
Consumes the builder and returns a worker