pub struct ClientEndpoint<P: ClientProvider> { /* private fields */ }Implementations§
Source§impl<P: ClientProvider> ClientEndpoint<P>
impl<P: ClientProvider> ClientEndpoint<P>
Trait Implementations§
Source§impl<P: Debug + ClientProvider> Debug for ClientEndpoint<P>
impl<P: Debug + ClientProvider> Debug for ClientEndpoint<P>
Source§impl<P: ClientProvider> NativeRequestEndpoint for ClientEndpoint<P>
impl<P: ClientProvider> NativeRequestEndpoint for ClientEndpoint<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 ClientEndpoint<P>
impl<P> !Send for ClientEndpoint<P>
impl<P> !Sync for ClientEndpoint<P>
impl<P> !UnwindSafe for ClientEndpoint<P>
impl<P> Freeze for ClientEndpoint<P>
impl<P> Unpin for ClientEndpoint<P>
impl<P> UnsafeUnpin for ClientEndpoint<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