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