Struct hyperdriver::stream::duplex::DuplexClient
source · pub struct DuplexClient { /* private fields */ }Expand description
Client for connecting to a duplex server
This is a wrapper around a tokio channel, which is used to send and recieve data between multiple clients and a server.
Implementations§
source§impl DuplexClient
impl DuplexClient
Trait Implementations§
source§impl Clone for DuplexClient
impl Clone for DuplexClient
source§fn clone(&self) -> DuplexClient
fn clone(&self) -> DuplexClient
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 moreAuto Trait Implementations§
impl Freeze for DuplexClient
impl !RefUnwindSafe for DuplexClient
impl Send for DuplexClient
impl Sync for DuplexClient
impl Unpin for DuplexClient
impl !UnwindSafe for DuplexClient
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)