Struct exc_core::exchange::MakeTickersOptions
source · pub struct MakeTickersOptions {}Expand description
Options for making a service to subscribe tickers.
Trait Implementations§
source§impl Debug for MakeTickersOptions
impl Debug for MakeTickersOptions
source§impl Default for MakeTickersOptions
impl Default for MakeTickersOptions
source§fn default() -> MakeTickersOptions
fn default() -> MakeTickersOptions
Returns the “default value” for a type. Read more
source§impl<M> Service<MakeTickersOptions> for AsService<'_, M>where
M: MakeTickers,
impl<M> Service<MakeTickersOptions> for AsService<'_, M>where
M: MakeTickers,
§type Response = <M as MakeTickers>::Service
type Response = <M as MakeTickers>::Service
Responses given by the service.
§type Error = ExchangeError
type Error = ExchangeError
Errors produced by the service.
§type Future = <M as MakeTickers>::Future
type Future = <M as MakeTickers>::Future
The future response value.
source§fn poll_ready(
&mut self,
cx: &mut Context<'_>
) -> Poll<Result<(), <AsService<'_, M> as Service<MakeTickersOptions>>::Error>>
fn poll_ready( &mut self, cx: &mut Context<'_> ) -> Poll<Result<(), <AsService<'_, M> as Service<MakeTickersOptions>>::Error>>
Returns
Poll::Ready(Ok(())) when the service is able to process requests. Read moresource§fn call(
&mut self,
options: MakeTickersOptions
) -> <AsService<'_, M> as Service<MakeTickersOptions>>::Future
fn call( &mut self, options: MakeTickersOptions ) -> <AsService<'_, M> as Service<MakeTickersOptions>>::Future
Process the request and return the response asynchronously. Read more
Auto Trait Implementations§
impl RefUnwindSafe for MakeTickersOptions
impl Send for MakeTickersOptions
impl Sync for MakeTickersOptions
impl Unpin for MakeTickersOptions
impl UnwindSafe for MakeTickersOptions
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