pub struct InMemoryRouteRepository { /* private fields */ }Trait Implementations§
Source§impl Clone for InMemoryRouteRepository
impl Clone for InMemoryRouteRepository
Source§fn clone(&self) -> InMemoryRouteRepository
fn clone(&self) -> InMemoryRouteRepository
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for InMemoryRouteRepository
impl Default for InMemoryRouteRepository
Source§fn default() -> InMemoryRouteRepository
fn default() -> InMemoryRouteRepository
Returns the “default value” for a type. Read more
Source§impl RouteRepositoryPort for InMemoryRouteRepository
impl RouteRepositoryPort for InMemoryRouteRepository
fn load<'life0, 'life1, 'async_trait>(
&'life0 self,
route_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<RouteRuntimeAggregate>, CamelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn save<'life0, 'async_trait>(
&'life0 self,
aggregate: RouteRuntimeAggregate,
) -> Pin<Box<dyn Future<Output = Result<(), CamelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn save_if_version<'life0, 'async_trait>(
&'life0 self,
aggregate: RouteRuntimeAggregate,
expected_version: u64,
) -> Pin<Box<dyn Future<Output = Result<(), CamelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete<'life0, 'life1, 'async_trait>(
&'life0 self,
route_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(), CamelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for InMemoryRouteRepository
impl !RefUnwindSafe for InMemoryRouteRepository
impl Send for InMemoryRouteRepository
impl Sync for InMemoryRouteRepository
impl Unpin for InMemoryRouteRepository
impl UnsafeUnpin for InMemoryRouteRepository
impl !UnwindSafe for InMemoryRouteRepository
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