pub struct StreamProbeEndpoint;Expand description
In-memory endpoint that echoes sent values while preserving stream protocol semantics.
Trait Implementations§
Source§impl Clone for StreamProbeEndpoint
impl Clone for StreamProbeEndpoint
Source§fn clone(&self) -> StreamProbeEndpoint
fn clone(&self) -> StreamProbeEndpoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StreamProbeEndpoint
impl Debug for StreamProbeEndpoint
Source§impl Default for StreamProbeEndpoint
impl Default for StreamProbeEndpoint
Source§fn default() -> StreamProbeEndpoint
fn default() -> StreamProbeEndpoint
Returns the “default value” for a type. Read more
Source§impl NativeStreamEndpoint for StreamProbeEndpoint
impl NativeStreamEndpoint for StreamProbeEndpoint
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 stream Operation names implemented by this endpoint.
Source§fn open(
&self,
operation: &str,
request: Box<dyn Any>,
context: InvocationContext,
) -> LocalBoxFuture<'static, Result<Result<Box<dyn NativeStreamSession>, Box<dyn Any>>, RuntimeFailure>>
fn open( &self, operation: &str, request: Box<dyn Any>, context: InvocationContext, ) -> LocalBoxFuture<'static, Result<Result<Box<dyn NativeStreamSession>, Box<dyn Any>>, RuntimeFailure>>
Opens one stream without serializing its typed Rust payload.
Auto Trait Implementations§
impl Freeze for StreamProbeEndpoint
impl RefUnwindSafe for StreamProbeEndpoint
impl Send for StreamProbeEndpoint
impl Sync for StreamProbeEndpoint
impl Unpin for StreamProbeEndpoint
impl UnsafeUnpin for StreamProbeEndpoint
impl UnwindSafe for StreamProbeEndpoint
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