pub struct RanvierService<In, Out, E, F, Res = ()> { /* private fields */ }Expand description
The foundational logic engine service. Adapts HTTP requests to Axon executions.
Implementations§
Trait Implementations§
Source§impl<In: Clone, Out: Clone, E: Clone, F: Clone, Res: Clone> Clone for RanvierService<In, Out, E, F, Res>
impl<In: Clone, Out: Clone, E: Clone, F: Clone, Res: Clone> Clone for RanvierService<In, Out, E, F, Res>
Source§fn clone(&self) -> RanvierService<In, Out, E, F, Res>
fn clone(&self) -> RanvierService<In, Out, E, F, Res>
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<B, In, Out, E, F, Res> Service<Request<B>> for RanvierService<In, Out, E, F, Res>where
B: Send + 'static,
In: Send + Sync + Serialize + DeserializeOwned + 'static,
Out: Send + Sync + Serialize + DeserializeOwned + 'static,
E: Send + Sync + Serialize + DeserializeOwned + Debug + 'static,
F: Fn(Request<B>, &mut Bus) -> In + Clone + Send + Sync + 'static,
Res: ResourceRequirement + Send + Sync + 'static,
impl<B, In, Out, E, F, Res> Service<Request<B>> for RanvierService<In, Out, E, F, Res>where
B: Send + 'static,
In: Send + Sync + Serialize + DeserializeOwned + 'static,
Out: Send + Sync + Serialize + DeserializeOwned + 'static,
E: Send + Sync + Serialize + DeserializeOwned + Debug + 'static,
F: Fn(Request<B>, &mut Bus) -> In + Clone + Send + Sync + 'static,
Res: ResourceRequirement + Send + Sync + 'static,
Source§type Error = Infallible
type Error = Infallible
Errors produced by the service. Read more
Auto Trait Implementations§
impl<In, Out, E, F, Res> Freeze for RanvierService<In, Out, E, F, Res>where
F: Freeze,
impl<In, Out, E, F, Res = ()> !RefUnwindSafe for RanvierService<In, Out, E, F, Res>
impl<In, Out, E, F, Res> Send for RanvierService<In, Out, E, F, Res>
impl<In, Out, E, F, Res> Sync for RanvierService<In, Out, E, F, Res>
impl<In, Out, E, F, Res> Unpin for RanvierService<In, Out, E, F, Res>where
F: Unpin,
impl<In, Out, E, F, Res> UnsafeUnpin for RanvierService<In, Out, E, F, Res>where
F: UnsafeUnpin,
impl<In, Out, E, F, Res = ()> !UnwindSafe for RanvierService<In, Out, E, F, Res>
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