pub struct BoxedOrderStore(/* private fields */);Implementations§
Source§impl BoxedOrderStore
impl BoxedOrderStore
pub fn new(store: impl OrderStore + 'static) -> Self
Trait Implementations§
Source§impl OrderStore for BoxedOrderStore
impl OrderStore for BoxedOrderStore
fn list_orders<'life0, 'life1, 'async_trait>(
&'life0 self,
domain: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<HashSet<Order>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn upsert_order<'life0, 'life1, 'async_trait>(
&'life0 self,
domain: &'life1 str,
order: Order,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn remove_order<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
domain: &'life1 str,
order_url: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for BoxedOrderStore
impl !RefUnwindSafe for BoxedOrderStore
impl Send for BoxedOrderStore
impl Sync for BoxedOrderStore
impl Unpin for BoxedOrderStore
impl !UnwindSafe for BoxedOrderStore
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