pub struct Input<T>where
T: ArrowMessage,{
pub raw: RawInput,
/* private fields */
}
Expand description
Typed Input to receive data from the dataflow
Fields§
§raw: RawInput
Implementations§
Source§impl<T> Input<T>where
T: ArrowMessage,
impl<T> Input<T>where
T: ArrowMessage,
Sourcepub fn new(
rx: Receiver<DataflowMessage>,
source: NodeLayout,
layout: InputLayout,
) -> Input<T>
pub fn new( rx: Receiver<DataflowMessage>, source: NodeLayout, layout: InputLayout, ) -> Input<T>
Create a new typed Input from a MessageReceiver, NodeLayout, and InputLayout
Sourcepub fn blocking_recv(&mut self) -> Result<(Header, T), Report>
pub fn blocking_recv(&mut self) -> Result<(Header, T), Report>
Receive a message from the channel and converting it from Arrow format, blocking until one is available, don’t use it in async context
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Input<T>
impl<T> RefUnwindSafe for Input<T>where
T: RefUnwindSafe,
impl<T> Send for Input<T>where
T: Send,
impl<T> Sync for Input<T>where
T: Sync,
impl<T> Unpin for Input<T>where
T: Unpin,
impl<T> UnwindSafe for Input<T>where
T: UnwindSafe,
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