pub struct Output<T: ArrowMessage> {
pub raw: RawOutput,
/* private fields */
}
Expand description
Typed Output to receive data from the dataflow
Fields§
§raw: RawOutput
Implementations§
Source§impl<T: ArrowMessage> Output<T>
impl<T: ArrowMessage> Output<T>
Sourcepub fn new(
tx: Vec<MessageSender>,
clock: Arc<HLC>,
source: NodeLayout,
layout: OutputLayout,
) -> Self
pub fn new( tx: Vec<MessageSender>, clock: Arc<HLC>, source: NodeLayout, layout: OutputLayout, ) -> Self
Create a new typed Output from a MessageSender, NodeLayout, and OutputLayout
Sourcepub fn blocking_send(&self, data: T) -> Result<()>
pub fn blocking_send(&self, data: T) -> Result<()>
Send a message to the output, blocking the current thread until the message is sent. Don’t use in async context
Auto Trait Implementations§
impl<T> Freeze for Output<T>
impl<T> !RefUnwindSafe for Output<T>
impl<T> Send for Output<T>where
T: Send,
impl<T> Sync for Output<T>where
T: Sync,
impl<T> Unpin for Output<T>where
T: Unpin,
impl<T> !UnwindSafe for Output<T>
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