Struct futuresdr::runtime::stream_io::StreamIoBuilder
source · pub struct StreamIoBuilder { /* private fields */ }
Expand description
Stream IO builder
Implementations§
source§impl StreamIoBuilder
impl StreamIoBuilder
sourcepub fn new() -> StreamIoBuilder
pub fn new() -> StreamIoBuilder
Create builder
sourcepub fn add_input<T: Any>(self, name: &str) -> StreamIoBuilder
pub fn add_input<T: Any>(self, name: &str) -> StreamIoBuilder
Add input port
sourcepub fn add_output<T: Any>(self, name: &str) -> StreamIoBuilder
pub fn add_output<T: Any>(self, name: &str) -> StreamIoBuilder
Add output port
sourcepub fn tag_propagation<F: FnMut(&mut [StreamInput], &mut [StreamOutput]) + Send + 'static>(
self,
f: F
) -> StreamIoBuilder
pub fn tag_propagation<F: FnMut(&mut [StreamInput], &mut [StreamOutput]) + Send + 'static>( self, f: F ) -> StreamIoBuilder
Configure tag propagation
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for StreamIoBuilder
impl Send for StreamIoBuilder
impl !Sync for StreamIoBuilder
impl Unpin for StreamIoBuilder
impl !UnwindSafe for StreamIoBuilder
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