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> BoxableServerEndpoint<<S as Service>::Req, <S as Service>::Res> for FlumeServerEndpoint<S>
impl<S: Service> BoxableServerEndpoint<<S as Service>::Req, <S as Service>::Res> for FlumeServerEndpoint<S>
source§fn clone_box(&self) -> Box<dyn BoxableServerEndpoint<S::Req, S::Res>>
fn clone_box(&self) -> Box<dyn BoxableServerEndpoint<S::Req, S::Res>>
Clone the server endpoint and box it
source§fn accept_bi_boxed(&self) -> AcceptFuture<'_, S::Req, S::Res> ⓘ
fn accept_bi_boxed(&self) -> AcceptFuture<'_, S::Req, S::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: 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>
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>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)