Struct rsocket_rust::Client
source · pub struct Client { /* private fields */ }
Implementations§
source§impl Client
impl Client
pub async fn wait_for_close(self)
Trait Implementations§
source§impl RSocket for Client
impl RSocket for Client
source§fn metadata_push<'life0, 'async_trait>(
&'life0 self,
req: Payload
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn metadata_push<'life0, 'async_trait>(
&'life0 self,
req: Payload
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Metadata-Push interaction model of RSocket.
source§fn fire_and_forget<'life0, 'async_trait>(
&'life0 self,
req: Payload
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn fire_and_forget<'life0, 'async_trait>(
&'life0 self,
req: Payload
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Fire and Forget interaction model of RSocket.
source§fn request_response<'life0, 'async_trait>(
&'life0 self,
req: Payload
) -> Pin<Box<dyn Future<Output = Result<Option<Payload>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn request_response<'life0, 'async_trait>(
&'life0 self,
req: Payload
) -> Pin<Box<dyn Future<Output = Result<Option<Payload>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Request-Response interaction model of RSocket.
Auto Trait Implementations§
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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