pub struct RawQuery {
pub tx: MessageSender,
pub rx: MessageReceiver,
pub clock: Arc<HLC>,
pub source: NodeLayout,
pub layout: QueryLayout,
}
Expand description
Not typed Query to receive data from the dataflow
Fields§
§tx: MessageSender
The sender part of the MPSC channel with the Queryable
rx: MessageReceiver
The receiver part of the MPSC channel with the Queryable
clock: Arc<HLC>
Shared clock with the runtime
source: NodeLayout
The source node layout, useful for debugging
layout: QueryLayout
The layout of the query, useful for debugging
Implementations§
Source§impl RawQuery
impl RawQuery
Sourcepub fn new(
tx: MessageSender,
rx: MessageReceiver,
clock: Arc<HLC>,
source: NodeLayout,
layout: QueryLayout,
) -> Self
pub fn new( tx: MessageSender, rx: MessageReceiver, clock: Arc<HLC>, source: NodeLayout, layout: QueryLayout, ) -> Self
Create a new RawQuery instance
Auto Trait Implementations§
impl Freeze for RawQuery
impl !RefUnwindSafe for RawQuery
impl Send for RawQuery
impl Sync for RawQuery
impl Unpin for RawQuery
impl !UnwindSafe for RawQuery
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