pub struct TestExchange;Expand description
Test exchange implementation that always succeeds
Implementations§
Source§impl TestExchange
impl TestExchange
Trait Implementations§
Source§impl Default for TestExchange
impl Default for TestExchange
Source§impl Exchange for TestExchange
impl Exchange for TestExchange
Source§fn send_order<'life0, 'async_trait>(
&'life0 self,
_order: Order,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_order<'life0, 'async_trait>(
&'life0 self,
_order: Order,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Send an order to the exchange
Auto Trait Implementations§
impl Freeze for TestExchange
impl RefUnwindSafe for TestExchange
impl Send for TestExchange
impl Sync for TestExchange
impl Unpin for TestExchange
impl UnwindSafe for TestExchange
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