pub struct FlumeListener<In: RpcMessage, Out: RpcMessage> { /* private fields */ }
Expand description
A flume based listener.
Created using channel.
Trait Implementations§
Source§impl<In: RpcMessage, Out: RpcMessage> BoxableListener<In, Out> for FlumeListener<In, Out>
impl<In: RpcMessage, Out: RpcMessage> BoxableListener<In, Out> for FlumeListener<In, Out>
Source§fn clone_box(&self) -> Box<dyn BoxableListener<In, Out>>
fn clone_box(&self) -> Box<dyn BoxableListener<In, Out>>
Clone the listener 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 FlumeListener<In, Out>
impl<In: RpcMessage, Out: RpcMessage> Clone for FlumeListener<In, Out>
Source§impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for FlumeListener<In, Out>
impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for FlumeListener<In, Out>
Source§impl<In: RpcMessage, Out: RpcMessage> Debug for FlumeListener<In, Out>
impl<In: RpcMessage, Out: RpcMessage> Debug for FlumeListener<In, Out>
Source§impl<In: RpcMessage, Out: RpcMessage> Listener for FlumeListener<In, Out>
impl<In: RpcMessage, Out: RpcMessage> Listener for FlumeListener<In, Out>
Source§fn accept(&self) -> AcceptFuture<In, Out> ⓘ
fn accept(&self) -> AcceptFuture<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.
Source§impl<In: RpcMessage, Out: RpcMessage> StreamTypes for FlumeListener<In, Out>
impl<In: RpcMessage, Out: RpcMessage> StreamTypes for FlumeListener<In, Out>
Source§type RecvStream = RecvStream<In>
type RecvStream = RecvStream<In>
Receive side of a bidirectional typed channel
Auto Trait Implementations§
impl<In, Out> Freeze for FlumeListener<In, Out>
impl<In, Out> RefUnwindSafe for FlumeListener<In, Out>
impl<In, Out> Send for FlumeListener<In, Out>
impl<In, Out> Sync for FlumeListener<In, Out>
impl<In, Out> Unpin for FlumeListener<In, Out>
impl<In, Out> UnwindSafe for FlumeListener<In, Out>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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