pub struct ClientHandle<C, SM>where
C: Cancellable,{ /* private fields */ }Expand description
Sending half of the peer’s connection.
Implementations§
Source§impl<C, SM> ClientHandle<C, SM>
impl<C, SM> ClientHandle<C, SM>
Trait Implementations§
Source§impl<C, SM: Debug> Debug for ClientHandle<C, SM>where
C: Cancellable + Debug,
impl<C, SM: Debug> Debug for ClientHandle<C, SM>where
C: Cancellable + Debug,
Source§impl<C, SM> SenderHandle for ClientHandle<C, SM>where
C: Cancellable,
<C as Cancellable>::Handle: SenderHandle<Item = Vec<u8>> + Send + Sync,
SM: Into<Vec<u8>> + Send,
impl<C, SM> SenderHandle for ClientHandle<C, SM>where
C: Cancellable,
<C as Cancellable>::Handle: SenderHandle<Item = Vec<u8>> + Send + Sync,
SM: Into<Vec<u8>> + Send,
Source§type Error = ClientError
type Error = ClientError
Type of error returned when the send has failed.
Auto Trait Implementations§
impl<C, SM> Freeze for ClientHandle<C, SM>
impl<C, SM> !RefUnwindSafe for ClientHandle<C, SM>
impl<C, SM> Send for ClientHandle<C, SM>
impl<C, SM> Sync for ClientHandle<C, SM>
impl<C, SM> Unpin for ClientHandle<C, SM>where
SM: Unpin,
impl<C, SM> !UnwindSafe for ClientHandle<C, SM>
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