Variants
Sync(Box<dyn SyncBlockT>)
Async(Box<dyn AsyncBlockT>)
Implementations
pub fn new_async<T: AsyncKernel + Send + 'static>(
meta: BlockMeta,
sio: StreamIo,
mio: MessageIo<T>,
kernel: T
) -> Block
pub fn new_sync<T: SyncKernel + Send + 'static>(
meta: BlockMeta,
sio: StreamIo,
mio: MessageIo<T>,
kernel: T
) -> Block
pub fn stream_inputs(&self) -> &Vec<StreamInput>ⓘ
pub fn stream_inputs_mut(&mut self) -> &mut Vec<StreamInput>ⓘ
pub fn stream_outputs(&self) -> &Vec<StreamOutput>ⓘ
pub fn stream_outputs_mut(&mut self) -> &mut Vec<StreamOutput>ⓘ
pub fn message_outputs(&self) -> &Vec<MessageOutput>ⓘ
pub fn message_outputs_mut(&mut self) -> &mut Vec<MessageOutput>ⓘ
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Block
impl !UnwindSafe for Block
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more