pub struct MakeInstrumentsOptions {}Expand description
Options for making a service to subscribe instruments.
Trait Implementations§
Source§impl Debug for MakeInstrumentsOptions
impl Debug for MakeInstrumentsOptions
Source§impl Default for MakeInstrumentsOptions
impl Default for MakeInstrumentsOptions
Source§fn default() -> MakeInstrumentsOptions
fn default() -> MakeInstrumentsOptions
Returns the “default value” for a type. Read more
Source§impl<M> Service<MakeInstrumentsOptions> for AsService<'_, M>where
M: MakeInstruments,
impl<M> Service<MakeInstrumentsOptions> for AsService<'_, M>where
M: MakeInstruments,
Source§type Response = <M as MakeInstruments>::Service
type Response = <M as MakeInstruments>::Service
Responses given by the service.
Source§type Error = ExchangeError
type Error = ExchangeError
Errors produced by the service.
Source§type Future = <M as MakeInstruments>::Future
type Future = <M as MakeInstruments>::Future
The future response value.
Source§fn poll_ready(
&mut self,
cx: &mut Context<'_>,
) -> Poll<Result<(), <AsService<'_, M> as Service<MakeInstrumentsOptions>>::Error>>
fn poll_ready( &mut self, cx: &mut Context<'_>, ) -> Poll<Result<(), <AsService<'_, M> as Service<MakeInstrumentsOptions>>::Error>>
Returns
Poll::Ready(Ok(())) when the service is able to process requests. Read moreSource§fn call(
&mut self,
options: MakeInstrumentsOptions,
) -> <AsService<'_, M> as Service<MakeInstrumentsOptions>>::Future
fn call( &mut self, options: MakeInstrumentsOptions, ) -> <AsService<'_, M> as Service<MakeInstrumentsOptions>>::Future
Process the request and return the response asynchronously. Read more
Auto Trait Implementations§
impl Freeze for MakeInstrumentsOptions
impl RefUnwindSafe for MakeInstrumentsOptions
impl Send for MakeInstrumentsOptions
impl Sync for MakeInstrumentsOptions
impl Unpin for MakeInstrumentsOptions
impl UnwindSafe for MakeInstrumentsOptions
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> 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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more