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