pub struct ServerDispatch<_T, T> {
pub server: _T,
/* private fields */
}
Fields§
§server: _T
Implementations§
Source§impl<T, _T: Server<T>> ServerDispatch<_T, T>where
T: Owned,
impl<T, _T: Server<T>> ServerDispatch<_T, T>where
T: Owned,
pub fn dispatch_call_internal( server: &mut _T, method_id: u16, params: Params<Owned>, results: Results<Owned>, ) -> DispatchCallResult
Trait Implementations§
Auto Trait Implementations§
impl<_T, T> Freeze for ServerDispatch<_T, T>where
_T: Freeze,
impl<_T, T> RefUnwindSafe for ServerDispatch<_T, T>where
_T: RefUnwindSafe,
T: RefUnwindSafe,
impl<_T, T> Send for ServerDispatch<_T, T>
impl<_T, T> Sync for ServerDispatch<_T, T>
impl<_T, T> Unpin for ServerDispatch<_T, T>
impl<_T, T> UnwindSafe for ServerDispatch<_T, T>where
_T: UnwindSafe,
T: 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