Struct quic_rpc_utils::FlumeConnection
source · pub struct FlumeConnection<S>where
S: Service,{ /* private fields */ }Expand description
A flume based connection to a server endpoint.
Created using connection.
Trait Implementations§
source§impl<S> BoxableConnection<<S as Service>::Res, <S as Service>::Req> for FlumeConnection<S>where
S: Service,
impl<S> BoxableConnection<<S as Service>::Res, <S as Service>::Req> for FlumeConnection<S>where
S: Service,
source§impl<S> Clone for FlumeConnection<S>where
S: Service,
impl<S> Clone for FlumeConnection<S>where
S: Service,
source§fn clone(&self) -> FlumeConnection<S>
fn clone(&self) -> FlumeConnection<S>
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<S> Connection<<S as Service>::Res, <S as Service>::Req> for FlumeConnection<S>where
S: Service,
impl<S> Connection<<S as Service>::Res, <S as Service>::Req> for FlumeConnection<S>where
S: Service,
source§impl<S> ConnectionCommon<<S as Service>::Res, <S as Service>::Req> for FlumeConnection<S>where
S: Service,
impl<S> ConnectionCommon<<S as Service>::Res, <S as Service>::Req> for FlumeConnection<S>where
S: Service,
§type RecvStream = RecvStream<<S as Service>::Res>
type RecvStream = RecvStream<<S as Service>::Res>
Receive side of a bidirectional typed channel
source§impl<S> ConnectionErrors for FlumeConnection<S>where
S: Service,
impl<S> ConnectionErrors for FlumeConnection<S>where
S: Service,
Auto Trait Implementations§
impl<S> Freeze for FlumeConnection<S>
impl<S> RefUnwindSafe for FlumeConnection<S>
impl<S> Send for FlumeConnection<S>
impl<S> Sync for FlumeConnection<S>
impl<S> Unpin for FlumeConnection<S>
impl<S> UnwindSafe for FlumeConnection<S>
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)