Struct sod::RefForkService
source · pub struct RefForkService<I, S1, S2> { /* private fields */ }Expand description
A Service, MutService, or AsyncService that encapsulates two service and accepts a input as a reference, which is passed to both underlying services, returning their outputs as a tuple.
Implementations§
source§impl<I, S1, S2> RefForkService<I, S1, S2>
impl<I, S1, S2> RefForkService<I, S1, S2>
Trait Implementations§
source§impl<'a, I: 'a, E, S1: MutService<&'a I, Error = E>, S2: MutService<&'a I, Error = E>> MutService<&'a I> for RefForkService<I, S1, S2>
impl<'a, I: 'a, E, S1: MutService<&'a I, Error = E>, S2: MutService<&'a I, Error = E>> MutService<&'a I> for RefForkService<I, S1, S2>
Auto Trait Implementations§
impl<I, S1, S2> RefUnwindSafe for RefForkService<I, S1, S2>where S1: RefUnwindSafe, S2: RefUnwindSafe,
impl<I, S1, S2> Send for RefForkService<I, S1, S2>where S1: Send, S2: Send,
impl<I, S1, S2> Sync for RefForkService<I, S1, S2>where S1: Sync, S2: Sync,
impl<I, S1, S2> Unpin for RefForkService<I, S1, S2>where S1: Unpin, S2: Unpin,
impl<I, S1, S2> UnwindSafe for RefForkService<I, S1, S2>where S1: UnwindSafe, S2: UnwindSafe,
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