Struct futuresdr::runtime::MessageIoBuilder [−][src]
pub struct MessageIoBuilder<T: Send> { /* fields omitted */ }
Implementations
pub fn register_async_input(
self,
name: &str,
c: impl for<'a> Fn(&'a mut T, &'a mut MessageIo<T>, &'a mut BlockMeta, Pmt) -> Pin<Box<dyn Future<Output = Result<Pmt>> + Send + 'a>> + Send + Sync + 'static
) -> MessageIoBuilder<T>
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for MessageIoBuilder<T>
impl<T> Send for MessageIoBuilder<T>
impl<T> Sync for MessageIoBuilder<T>
impl<T> Unpin for MessageIoBuilder<T>
impl<T> !UnwindSafe for MessageIoBuilder<T>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.
type Output = T
type Output = T
Should always be Self