pub struct FnServiceFactory<F, M>(/* private fields */);
Implementations§
Source§impl<F, M> FnServiceFactory<F, M>
impl<F, M> FnServiceFactory<F, M>
Trait Implementations§
Source§impl<F, S: RpcServiceSchema, H, SF, CS: RpcServiceSchema> ServiceFactory<SF, CS> for FnServiceFactory<F, (CS, S)>
impl<F, S: RpcServiceSchema, H, SF, CS: RpcServiceSchema> ServiceFactory<SF, CS> for FnServiceFactory<F, (CS, S)>
type S = S
fn create( self, channel: XyRpcChannel<SF, CS>, ) -> impl RpcMsgHandler<S> + 'static
Auto Trait Implementations§
impl<F, M> Freeze for FnServiceFactory<F, M>where
F: Freeze,
impl<F, M> RefUnwindSafe for FnServiceFactory<F, M>where
F: RefUnwindSafe,
M: RefUnwindSafe,
impl<F, M> Send for FnServiceFactory<F, M>
impl<F, M> Sync for FnServiceFactory<F, M>
impl<F, M> Unpin for FnServiceFactory<F, M>
impl<F, M> UnwindSafe for FnServiceFactory<F, M>where
F: UnwindSafe,
M: 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