pub struct ProbeEndpoint<P> { /* private fields */ }Expand description
Typed endpoint backed by one conformance provider.
Implementations§
Source§impl<P: ProbeProvider> ProbeEndpoint<P>
impl<P: ProbeProvider> ProbeEndpoint<P>
Trait Implementations§
Source§impl<P: Debug> Debug for ProbeEndpoint<P>
impl<P: Debug> Debug for ProbeEndpoint<P>
Source§impl<P: ProbeProvider> NativeRequestEndpoint for ProbeEndpoint<P>
impl<P: ProbeProvider> NativeRequestEndpoint for ProbeEndpoint<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> !Send for ProbeEndpoint<P>
impl<P> !Sync for ProbeEndpoint<P>
impl<P> Freeze for ProbeEndpoint<P>
impl<P> RefUnwindSafe for ProbeEndpoint<P>where
Rc<P>: RefUnwindSafe,
impl<P> Unpin for ProbeEndpoint<P>
impl<P> UnsafeUnpin for ProbeEndpoint<P>where
Rc<P>: UnsafeUnpin,
impl<P> UnwindSafe for ProbeEndpoint<P>where
Rc<P>: 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