Struct quic_rpc::transport::flume::FlumeConnection
source · pub struct FlumeConnection<S: Service> { /* private fields */ }
Expand description
A flume based connection to a server endpoint.
Created using connection.
Trait Implementations§
source§impl<S: Service> BoxableConnection<<S as Service>::Res, <S as Service>::Req> for FlumeConnection<S>
impl<S: Service> BoxableConnection<<S as Service>::Res, <S as Service>::Req> for FlumeConnection<S>
source§fn clone_box(&self) -> Box<dyn BoxableConnection<S::Res, S::Req>>
fn clone_box(&self) -> Box<dyn BoxableConnection<S::Res, S::Req>>
Clone the connection and box it
source§fn open_bi_boxed(&self) -> OpenFuture<'_, S::Res, S::Req> ⓘ
fn open_bi_boxed(&self) -> OpenFuture<'_, S::Res, S::Req> ⓘ
Open a channel to the remote che
source§impl<S: Service> Clone for FlumeConnection<S>
impl<S: Service> Clone for FlumeConnection<S>
source§impl<S: Service> Connection<<S as Service>::Res, <S as Service>::Req> for FlumeConnection<S>
impl<S: Service> Connection<<S as Service>::Res, <S as Service>::Req> for FlumeConnection<S>
source§impl<S: Service> ConnectionCommon<<S as Service>::Res, <S as Service>::Req> for FlumeConnection<S>
impl<S: Service> ConnectionCommon<<S as Service>::Res, <S as Service>::Req> for FlumeConnection<S>
§type RecvStream = RecvStream<<S as Service>::Res>
type RecvStream = RecvStream<<S as Service>::Res>
Receive side of a bidirectional typed channel
source§impl<S: Service> ConnectionErrors for FlumeConnection<S>
impl<S: Service> ConnectionErrors for FlumeConnection<S>
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