Struct reception::client::ClientHandle
source · 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>where
C: Cancellable + 'static,
<C as Cancellable>::Handle: Send,
impl<C, SM> ClientHandle<C, SM>where C: Cancellable + 'static, <C as Cancellable>::Handle: Send,
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,
§type Error = ClientError
type Error = ClientError
Type of error returned when the send has failed.
Auto Trait Implementations§
impl<C, SM> !RefUnwindSafe for ClientHandle<C, SM>
impl<C, SM> Send for ClientHandle<C, SM>where SM: Send, <C as Cancellable>::Handle: Send,
impl<C, SM> Sync for ClientHandle<C, SM>where SM: Sync, <C as Cancellable>::Handle: Send,
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