Enum futuresdr::runtime::FlowgraphMessage
source · pub enum FlowgraphMessage {
Terminate,
Initialized,
BlockDone {
block_id: usize,
block: Block,
},
BlockError {
block_id: usize,
block: Block,
},
BlockCall {
block_id: usize,
port_id: PortId,
data: Pmt,
tx: Sender<Result<(), Error>>,
},
BlockCallback {
block_id: usize,
port_id: PortId,
data: Pmt,
tx: Sender<Result<Pmt, Error>>,
},
FlowgraphDescription {
tx: Sender<FlowgraphDescription>,
},
BlockDescription {
block_id: usize,
tx: Sender<Result<BlockDescription, Error>>,
},
}
Expand description
Flowgraph inbox message type
Variants§
Terminate
Terminate
Initialized
Initialize
BlockDone
Block is done
BlockError
Block encountered an error
BlockCall
Fields
Call handler of block (ignoring result)
BlockCallback
Fields
Call handler of block
FlowgraphDescription
Fields
§
tx: Sender<FlowgraphDescription>
Back channel for result
BlockDescription
Get BlockDescription
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for FlowgraphMessage
impl Send for FlowgraphMessage
impl !Sync for FlowgraphMessage
impl Unpin for FlowgraphMessage
impl !UnwindSafe for FlowgraphMessage
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