pub struct RpcChannel(/* private fields */);
Expand description
A channel to a RpcClient
.
Trait Implementations§
Source§impl Clone for RpcChannel
impl Clone for RpcChannel
Source§fn clone(&self) -> RpcChannel
fn clone(&self) -> RpcChannel
Returns a copy 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 From<RpcChannel> for RawClient
impl From<RpcChannel> for RawClient
Source§fn from(channel: RpcChannel) -> Self
fn from(channel: RpcChannel) -> Self
Converts to this type from the input type.
Source§impl From<RpcChannel> for TypedClient
impl From<RpcChannel> for TypedClient
Source§fn from(channel: RpcChannel) -> Self
fn from(channel: RpcChannel) -> Self
Converts to this type from the input type.
Source§impl From<UnboundedSender<RpcMessage>> for RpcChannel
impl From<UnboundedSender<RpcMessage>> for RpcChannel
Source§fn from(sender: UnboundedSender<RpcMessage>) -> Self
fn from(sender: UnboundedSender<RpcMessage>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RpcChannel
impl !RefUnwindSafe for RpcChannel
impl Send for RpcChannel
impl Sync for RpcChannel
impl Unpin for RpcChannel
impl !UnwindSafe for RpcChannel
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