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