pub struct ServerDispatch<_T> {
pub server: Rc<_T>,
}Fields§
§server: Rc<_T>Implementations§
Source§impl<_T: Server> ServerDispatch<_T>
impl<_T: Server> ServerDispatch<_T>
pub fn dispatch_call_internal( this: Rc<_T>, method_id: u16, params: Params<Owned>, results: Results<Owned>, ) -> DispatchCallResult
Trait Implementations§
Source§impl<_T: Server> Clone for ServerDispatch<_T>
impl<_T: Server> Clone for ServerDispatch<_T>
Source§impl<_T: Server> Deref for ServerDispatch<_T>
impl<_T: Server> Deref for ServerDispatch<_T>
Auto Trait Implementations§
impl<_T> !Send for ServerDispatch<_T>
impl<_T> !Sync for ServerDispatch<_T>
impl<_T> Freeze for ServerDispatch<_T>
impl<_T> RefUnwindSafe for ServerDispatch<_T>where
_T: RefUnwindSafe,
impl<_T> Unpin for ServerDispatch<_T>
impl<_T> UnsafeUnpin for ServerDispatch<_T>
impl<_T> UnwindSafe for ServerDispatch<_T>where
_T: RefUnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Formattable for T
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].