pub struct DynService<'a, I, O, E> { /* private fields */ }Expand description
Implementations§
Trait Implementations§
Source§impl<'a, I, O, E> Service for DynService<'a, I, O, E>
impl<'a, I, O, E> Service for DynService<'a, I, O, E>
type Input = I
type Output = O
type Error = E
Source§fn process(&self, input: I) -> Result<Self::Output, Self::Error>
fn process(&self, input: I) -> Result<Self::Output, Self::Error>
Process an input, producing a
Result<Self::Output, Self::Error>Source§fn into_mut(self) -> ServiceMut<Self>where
Self: Sized,
fn into_mut(self) -> ServiceMut<Self>where
Self: Sized,
Source§fn into_async(self) -> ServiceAsync<Self>
fn into_async(self) -> ServiceAsync<Self>
Source§fn into_dyn<'a>(self) -> DynService<'a, Self::Input, Self::Output, Self::Error>where
Self: Sized + 'static,
fn into_dyn<'a>(self) -> DynService<'a, Self::Input, Self::Output, Self::Error>where
Self: Sized + 'static,
Convert this
Service into a DynServiceAuto Trait Implementations§
impl<'a, I, O, E> Freeze for DynService<'a, I, O, E>
impl<'a, I, O, E> !RefUnwindSafe for DynService<'a, I, O, E>
impl<'a, I, O, E> !Send for DynService<'a, I, O, E>
impl<'a, I, O, E> !Sync for DynService<'a, I, O, E>
impl<'a, I, O, E> Unpin for DynService<'a, I, O, E>
impl<'a, I, O, E> !UnwindSafe for DynService<'a, I, O, E>
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