pub struct HostServer { /* private fields */ }
Expand description
A wasmRS native Host.
Trait Implementations§
Source§impl Clone for HostServer
impl Clone for HostServer
Source§fn clone(&self) -> HostServer
fn clone(&self) -> HostServer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl RSocket for HostServer
impl RSocket for HostServer
Source§fn fire_and_forget(&self, req: RawPayload) -> BoxMono<(), PayloadError>
fn fire_and_forget(&self, req: RawPayload) -> BoxMono<(), PayloadError>
Fire and Forget interaction model of RSocket.
Source§fn request_response(&self, req: RawPayload) -> BoxMono<RawPayload, PayloadError>
fn request_response(&self, req: RawPayload) -> BoxMono<RawPayload, PayloadError>
Request-Response interaction model of RSocket.
Source§fn request_stream(&self, req: RawPayload) -> BoxFlux<RawPayload, PayloadError>
fn request_stream(&self, req: RawPayload) -> BoxFlux<RawPayload, PayloadError>
Request-Stream interaction model of RSocket.
Source§fn request_channel<T: Stream<Item = Result<RawPayload, PayloadError>> + ConditionallySend + Unpin + 'static>(
&self,
reqs: T,
) -> BoxFlux<RawPayload, PayloadError>
fn request_channel<T: Stream<Item = Result<RawPayload, PayloadError>> + ConditionallySend + Unpin + 'static>( &self, reqs: T, ) -> BoxFlux<RawPayload, PayloadError>
Request-Channel interaction model of RSocket.
Auto Trait Implementations§
impl Freeze for HostServer
impl !RefUnwindSafe for HostServer
impl Send for HostServer
impl Sync for HostServer
impl Unpin for HostServer
impl !UnwindSafe for HostServer
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