Struct quic_rpc_utils::FlumeServerEndpoint
source · pub struct FlumeServerEndpoint<S>where
S: Service,{ /* private fields */ }Expand description
A flume based server endpoint.
Created using connection.
Trait Implementations§
source§impl<S> BoxableServerEndpoint<<S as Service>::Req, <S as Service>::Res> for FlumeServerEndpoint<S>where
S: Service,
impl<S> BoxableServerEndpoint<<S as Service>::Req, <S as Service>::Res> for FlumeServerEndpoint<S>where
S: Service,
source§fn clone_box(
&self,
) -> Box<dyn BoxableServerEndpoint<<S as Service>::Req, <S as Service>::Res>>
fn clone_box( &self, ) -> Box<dyn BoxableServerEndpoint<<S as Service>::Req, <S as Service>::Res>>
Clone the server endpoint and box it
source§fn accept_bi_boxed(
&self,
) -> AcceptFuture<'_, <S as Service>::Req, <S as Service>::Res>
fn accept_bi_boxed( &self, ) -> AcceptFuture<'_, <S as Service>::Req, <S as Service>::Res>
Accept a channel from a remote client
source§fn local_addr(&self) -> &[LocalAddr]
fn local_addr(&self) -> &[LocalAddr]
Get the local address
source§impl<S> Clone for FlumeServerEndpoint<S>where
S: Service,
impl<S> Clone for FlumeServerEndpoint<S>where
S: Service,
source§fn clone(&self) -> FlumeServerEndpoint<S>
fn clone(&self) -> FlumeServerEndpoint<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> ConnectionCommon<<S as Service>::Req, <S as Service>::Res> for FlumeServerEndpoint<S>where
S: Service,
impl<S> ConnectionCommon<<S as Service>::Req, <S as Service>::Res> for FlumeServerEndpoint<S>where
S: Service,
§type RecvStream = RecvStream<<S as Service>::Req>
type RecvStream = RecvStream<<S as Service>::Req>
Receive side of a bidirectional typed channel
source§impl<S> ConnectionErrors for FlumeServerEndpoint<S>where
S: Service,
impl<S> ConnectionErrors for FlumeServerEndpoint<S>where
S: Service,
source§impl<S> Debug for FlumeServerEndpoint<S>where
S: Service,
impl<S> Debug for FlumeServerEndpoint<S>where
S: Service,
source§impl<S> ServerEndpoint<<S as Service>::Req, <S as Service>::Res> for FlumeServerEndpoint<S>where
S: Service,
impl<S> ServerEndpoint<<S as Service>::Req, <S as Service>::Res> for FlumeServerEndpoint<S>where
S: Service,
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
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)