Struct futuresdr::runtime::FlowgraphHandle
source · pub struct FlowgraphHandle { /* private fields */ }
Expand description
Handle to interact with running Flowgraph
Implementations§
source§impl FlowgraphHandle
impl FlowgraphHandle
sourcepub async fn call(
&mut self,
block_id: usize,
port_id: impl Into<PortId>,
data: Pmt
) -> Result<(), Error>
pub async fn call( &mut self, block_id: usize, port_id: impl Into<PortId>, data: Pmt ) -> Result<(), Error>
Call message handler, ignoring the result
sourcepub async fn callback(
&mut self,
block_id: usize,
port_id: impl Into<PortId>,
data: Pmt
) -> Result<Pmt, Error>
pub async fn callback( &mut self, block_id: usize, port_id: impl Into<PortId>, data: Pmt ) -> Result<Pmt, Error>
Call message handler
sourcepub async fn description(&mut self) -> Result<FlowgraphDescription, Error>
pub async fn description(&mut self) -> Result<FlowgraphDescription, Error>
sourcepub async fn block_description(
&mut self,
block_id: usize
) -> Result<BlockDescription>
pub async fn block_description( &mut self, block_id: usize ) -> Result<BlockDescription>
Get BlockDescription
Trait Implementations§
source§impl Clone for FlowgraphHandle
impl Clone for FlowgraphHandle
source§fn clone(&self) -> FlowgraphHandle
fn clone(&self) -> FlowgraphHandle
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FlowgraphHandle
impl Debug for FlowgraphHandle
Auto Trait Implementations§
impl !RefUnwindSafe for FlowgraphHandle
impl Send for FlowgraphHandle
impl Sync for FlowgraphHandle
impl Unpin for FlowgraphHandle
impl !UnwindSafe for FlowgraphHandle
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