pub struct FlumeConnector<In: RpcMessage, Out: RpcMessage> { /* private fields */ }
Expand description
A flume based connector.
Created using channel.
Trait Implementations§
Source§impl<In: RpcMessage, Out: RpcMessage> BoxableConnector<In, Out> for FlumeConnector<In, Out>
impl<In: RpcMessage, Out: RpcMessage> BoxableConnector<In, Out> for FlumeConnector<In, Out>
Source§fn clone_box(&self) -> Box<dyn BoxableConnector<In, Out>>
fn clone_box(&self) -> Box<dyn BoxableConnector<In, Out>>
Clone the connection and box it
Source§fn open_boxed(&self) -> OpenFuture<'_, In, Out> ⓘ
fn open_boxed(&self) -> OpenFuture<'_, In, Out> ⓘ
Open a channel to the remote che
Source§impl<In: RpcMessage, Out: RpcMessage> Clone for FlumeConnector<In, Out>
impl<In: RpcMessage, Out: RpcMessage> Clone for FlumeConnector<In, Out>
Source§impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for FlumeConnector<In, Out>
impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for FlumeConnector<In, Out>
Source§impl<In: RpcMessage, Out: RpcMessage> Connector for FlumeConnector<In, Out>
impl<In: RpcMessage, Out: RpcMessage> Connector for FlumeConnector<In, Out>
Source§fn open(&self) -> OpenFuture<In, Out> ⓘ
fn open(&self) -> OpenFuture<In, Out> ⓘ
Open a channel to the remote che
Source§fn map<In1, Out1>(self) -> MappedConnector<In1, Out1, Self>
fn map<In1, Out1>(self) -> MappedConnector<In1, Out1, Self>
Map the input and output types of this connection
Source§impl<In: RpcMessage, Out: RpcMessage> Debug for FlumeConnector<In, Out>
impl<In: RpcMessage, Out: RpcMessage> Debug for FlumeConnector<In, Out>
Source§impl<In: RpcMessage, Out: RpcMessage> StreamTypes for FlumeConnector<In, Out>
impl<In: RpcMessage, Out: RpcMessage> StreamTypes for FlumeConnector<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 FlumeConnector<In, Out>
impl<In, Out> RefUnwindSafe for FlumeConnector<In, Out>
impl<In, Out> Send for FlumeConnector<In, Out>
impl<In, Out> Sync for FlumeConnector<In, Out>
impl<In, Out> Unpin for FlumeConnector<In, Out>
impl<In, Out> UnwindSafe for FlumeConnector<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
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
)