Struct quic_rpc::transport::flume::FlumeServerEndpoint
source · pub struct FlumeServerEndpoint<S: Service> { /* private fields */ }
Expand description
A flume based server endpoint.
Created using connection.
Trait Implementations§
source§impl<S: Service> Clone for FlumeServerEndpoint<S>
impl<S: Service> Clone for FlumeServerEndpoint<S>
source§impl<S: Service> ConnectionCommon<<S as Service>::Req, <S as Service>::Res> for FlumeServerEndpoint<S>
impl<S: Service> ConnectionCommon<<S as Service>::Req, <S as Service>::Res> for FlumeServerEndpoint<S>
§type RecvStream = RecvStream<<S as Service>::Req>
type RecvStream = RecvStream<<S as Service>::Req>
Receive side of a bidirectional typed channel
source§impl<S: Service> ConnectionErrors for FlumeServerEndpoint<S>
impl<S: Service> ConnectionErrors for FlumeServerEndpoint<S>
source§impl<S: Service> Debug for FlumeServerEndpoint<S>
impl<S: Service> Debug for FlumeServerEndpoint<S>
source§impl<S: Service> ServerEndpoint<<S as Service>::Req, <S as Service>::Res> for FlumeServerEndpoint<S>
impl<S: Service> ServerEndpoint<<S as Service>::Req, <S as Service>::Res> for FlumeServerEndpoint<S>
source§async fn accept_bi(
&self
) -> Result<(Self::SendSink, Self::RecvStream), AcceptBiError>
async fn accept_bi( &self ) -> Result<(Self::SendSink, Self::RecvStream), AcceptBiError>
Accept a new typed bidirectional channel on any of the connections we
have currently opened.
source§fn local_addr(&self) -> &[LocalAddr]
fn local_addr(&self) -> &[LocalAddr]
The local addresses this endpoint is bound to.
Auto Trait Implementations§
impl<S> Freeze for FlumeServerEndpoint<S>
impl<S> RefUnwindSafe for FlumeServerEndpoint<S>
impl<S> Send for FlumeServerEndpoint<S>
impl<S> Sync for FlumeServerEndpoint<S>
impl<S> Unpin for FlumeServerEndpoint<S>
impl<S> UnwindSafe for FlumeServerEndpoint<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