pub struct FlumeServerEndpoint<In: RpcMessage, Out: RpcMessage> { /* private fields */ }
Expand description
A flume based server endpoint.
Created using connection.
Trait Implementations§
Source§impl<In: RpcMessage, Out: RpcMessage> BoxableServerEndpoint<In, Out> for FlumeServerEndpoint<In, Out>
impl<In: RpcMessage, Out: RpcMessage> BoxableServerEndpoint<In, Out> for FlumeServerEndpoint<In, Out>
Source§fn clone_box(&self) -> Box<dyn BoxableServerEndpoint<In, Out>>
fn clone_box(&self) -> Box<dyn BoxableServerEndpoint<In, Out>>
Clone the server endpoint and box it
Source§fn accept_bi_boxed(&self) -> AcceptFuture<'_, In, Out> ⓘ
fn accept_bi_boxed(&self) -> AcceptFuture<'_, In, Out> ⓘ
Accept a channel from a remote client
Source§fn local_addr(&self) -> &[LocalAddr]
fn local_addr(&self) -> &[LocalAddr]
Get the local address
Source§impl<In: RpcMessage, Out: RpcMessage> Clone for FlumeServerEndpoint<In, Out>
impl<In: RpcMessage, Out: RpcMessage> Clone for FlumeServerEndpoint<In, Out>
Source§impl<In: RpcMessage, Out: RpcMessage> ConnectionCommon<In, Out> for FlumeServerEndpoint<In, Out>
impl<In: RpcMessage, Out: RpcMessage> ConnectionCommon<In, Out> for FlumeServerEndpoint<In, Out>
Source§type RecvStream = RecvStream<In>
type RecvStream = RecvStream<In>
Receive side of a bidirectional typed channel
Source§impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for FlumeServerEndpoint<In, Out>
impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for FlumeServerEndpoint<In, Out>
Source§impl<In: RpcMessage, Out: RpcMessage> Debug for FlumeServerEndpoint<In, Out>
impl<In: RpcMessage, Out: RpcMessage> Debug for FlumeServerEndpoint<In, Out>
Source§impl<In: RpcMessage, Out: RpcMessage> ServerEndpoint<In, Out> for FlumeServerEndpoint<In, Out>
impl<In: RpcMessage, Out: RpcMessage> ServerEndpoint<In, Out> for FlumeServerEndpoint<In, Out>
Source§fn accept(&self) -> AcceptBiFuture<In, Out> ⓘ
fn accept(&self) -> AcceptBiFuture<In, Out> ⓘ
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<In, Out> Freeze for FlumeServerEndpoint<In, Out>
impl<In, Out> RefUnwindSafe for FlumeServerEndpoint<In, Out>
impl<In, Out> Send for FlumeServerEndpoint<In, Out>
impl<In, Out> Sync for FlumeServerEndpoint<In, Out>
impl<In, Out> Unpin for FlumeServerEndpoint<In, Out>
impl<In, Out> UnwindSafe for FlumeServerEndpoint<In, Out>
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
)