pub struct EndpointEndpoint<P: EndpointProvider> { /* private fields */ }Implementations§
Source§impl<P: EndpointProvider> EndpointEndpoint<P>
impl<P: EndpointProvider> EndpointEndpoint<P>
Trait Implementations§
Source§impl<P: Debug + EndpointProvider> Debug for EndpointEndpoint<P>
impl<P: Debug + EndpointProvider> Debug for EndpointEndpoint<P>
Source§impl<P: EndpointProvider> NativeRequestEndpoint for EndpointEndpoint<P>
impl<P: EndpointProvider> NativeRequestEndpoint for EndpointEndpoint<P>
Source§fn capability_id(&self) -> &'static str
fn capability_id(&self) -> &'static str
Stable Capability series identity.
Source§fn descriptor_version(&self) -> &'static str
fn descriptor_version(&self) -> &'static str
Exact Descriptor version implemented by this endpoint.
Source§fn operations(&self) -> &'static [&'static str]
fn operations(&self) -> &'static [&'static str]
Exact stable Operation names implemented by this endpoint.
Source§fn invoke(
&self,
operation: &str,
request: Box<dyn Any>,
context: InvocationContext,
) -> LocalBoxFuture<'static, Result<Result<Box<dyn Any>, Box<dyn Any>>, RuntimeFailure>>
fn invoke( &self, operation: &str, request: Box<dyn Any>, context: InvocationContext, ) -> LocalBoxFuture<'static, Result<Result<Box<dyn Any>, Box<dyn Any>>, RuntimeFailure>>
Dispatches one operation without serializing its typed Rust payload.
Auto Trait Implementations§
impl<P> !RefUnwindSafe for EndpointEndpoint<P>
impl<P> !Send for EndpointEndpoint<P>
impl<P> !Sync for EndpointEndpoint<P>
impl<P> !UnwindSafe for EndpointEndpoint<P>
impl<P> Freeze for EndpointEndpoint<P>
impl<P> Unpin for EndpointEndpoint<P>
impl<P> UnsafeUnpin for EndpointEndpoint<P>where
Rc<P>: UnsafeUnpin,
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