pub struct RawOutput {
pub tx: Vec<MessageSender>,
pub clock: Arc<HLC>,
pub source: NodeLayout,
pub layout: OutputLayout,
}
Expand description
Not typed Output to receive data from the dataflow
Fields§
§tx: Vec<MessageSender>
The senders parts of MPSC channels
clock: Arc<HLC>
The shared clock of the runtime
source: NodeLayout
The source node layout, useful for debugging
layout: OutputLayout
The layout of the output, useful for debugging
Implementations§
Source§impl RawOutput
impl RawOutput
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 RawOutput instance
Sourcepub fn blocking_send(&self, data: ArrayData) -> Result<()>
pub fn blocking_send(&self, data: ArrayData) -> Result<()>
Send a message from the channel, blocking until it’s possible, don’t use it in async context
Auto Trait Implementations§
impl Freeze for RawOutput
impl !RefUnwindSafe for RawOutput
impl Send for RawOutput
impl Sync for RawOutput
impl Unpin for RawOutput
impl !UnwindSafe for RawOutput
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