Struct quic_rpc::transport::combined::CombinedConnection
source · pub struct CombinedConnection<A, B, S> {
pub a: Option<A>,
pub b: Option<B>,
/* private fields */
}
Expand description
A connection that combines two other connections
Fields§
§a: Option<A>
First connection
b: Option<B>
Second connection
Implementations§
source§impl<A: Connection<S::Res, S::Req>, B: Connection<S::Res, S::Req>, S: Service> CombinedConnection<A, B, S>
impl<A: Connection<S::Res, S::Req>, B: Connection<S::Res, S::Req>, S: Service> CombinedConnection<A, B, S>
Trait Implementations§
source§impl<A: Connection<S::Res, S::Req>, B: Connection<S::Res, S::Req>, S: Service> Connection<<S as Service>::Res, <S as Service>::Req> for CombinedConnection<A, B, S>
impl<A: Connection<S::Res, S::Req>, B: Connection<S::Res, S::Req>, S: Service> Connection<<S as Service>::Res, <S as Service>::Req> for CombinedConnection<A, B, S>
source§impl<A: Connection<S::Res, S::Req>, B: Connection<S::Res, S::Req>, S: Service> ConnectionCommon<<S as Service>::Res, <S as Service>::Req> for CombinedConnection<A, B, S>
impl<A: Connection<S::Res, S::Req>, B: Connection<S::Res, S::Req>, S: Service> ConnectionCommon<<S as Service>::Res, <S as Service>::Req> for CombinedConnection<A, B, S>
source§impl<A: ConnectionErrors, B: ConnectionErrors, S: Service> ConnectionErrors for CombinedConnection<A, B, S>
impl<A: ConnectionErrors, B: ConnectionErrors, S: Service> ConnectionErrors for CombinedConnection<A, B, S>
Auto Trait Implementations§
impl<A, B, S> Freeze for CombinedConnection<A, B, S>
impl<A, B, S> RefUnwindSafe for CombinedConnection<A, B, S>
impl<A, B, S> Send for CombinedConnection<A, B, S>
impl<A, B, S> Sync for CombinedConnection<A, B, S>
impl<A, B, S> Unpin for CombinedConnection<A, B, S>
impl<A, B, S> UnwindSafe for CombinedConnection<A, B, 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