pub struct MapManager<'a, Ctx, Req, Resp: Sss, MF: Fn(&Ctx, usize, &Req) -> Resp> { /* private fields */ }
Implementations§
Source§impl<'a, Ctx, Req, Resp: Sss, MF: SCFunMF<Ctx, Req, Resp>> MapManager<'a, Ctx, Req, Resp, MF>
impl<'a, Ctx, Req, Resp: Sss, MF: SCFunMF<Ctx, Req, Resp>> MapManager<'a, Ctx, Req, Resp, MF>
pub fn reduce<RF: SCFunRF<Ctx, Resp>>( self, fun: RF, ) -> ReduceManager<'a, Ctx, Req, Resp, MF, RF>
Source§impl<'a, Ctx, Req, ROk: Sss, RErr: Sss, MF: SCFunMF<Ctx, Req, Result<ROk, RErr>>> MapManager<'a, Ctx, Req, Result<ROk, RErr>, MF>
impl<'a, Ctx, Req, ROk: Sss, RErr: Sss, MF: SCFunMF<Ctx, Req, Result<ROk, RErr>>> MapManager<'a, Ctx, Req, Result<ROk, RErr>, MF>
pub fn reduce_result<RF: 'static + Fn(&Ctx, ROk, ROk) -> Result<ROk, RErr>>( self, fun: RF, ) -> ReduceRManager<'a, Ctx, Req, ROk, RErr, MF, RF>
Auto Trait Implementations§
impl<'a, Ctx, Req, Resp, MF> Freeze for MapManager<'a, Ctx, Req, Resp, MF>where
MF: Freeze,
impl<'a, Ctx, Req, Resp, MF> RefUnwindSafe for MapManager<'a, Ctx, Req, Resp, MF>
impl<'a, Ctx, Req, Resp, MF> Send for MapManager<'a, Ctx, Req, Resp, MF>
impl<'a, Ctx, Req, Resp, MF> Sync for MapManager<'a, Ctx, Req, Resp, MF>
impl<'a, Ctx, Req, Resp, MF> Unpin for MapManager<'a, Ctx, Req, Resp, MF>
impl<'a, Ctx, Req, Resp, MF> UnwindSafe for MapManager<'a, Ctx, Req, Resp, MF>
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