pub struct RpcClient { /* private fields */ }Implementations§
Source§impl RpcClient
impl RpcClient
pub fn new(conn: ConnectionHandle) -> Self
Sourcepub async fn _call_rpc_func<T: RpcCodec, R: RpcCodec>(
&self,
topic: Topic,
arg: &T,
) -> ClientResult<R>
pub async fn _call_rpc_func<T: RpcCodec, R: RpcCodec>( &self, topic: Topic, arg: &T, ) -> ClientResult<R>
Low-level function to call a server’s RPC.
Auto Trait Implementations§
impl !RefUnwindSafe for RpcClient
impl !UnwindSafe for RpcClient
impl Freeze for RpcClient
impl Send for RpcClient
impl Sync for RpcClient
impl Unpin for RpcClient
impl UnsafeUnpin for RpcClient
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