Trait drone_cortexm::thr::StreamRootExt [−][src]
An extension trait for [Stream] that provides
root_wait method.
Required methods
fn root_wait(self) -> StreamRootWait<'a, Self>ⓘNotable traits for StreamRootWait<'a, T>
impl<'a, T: Stream> Iterator for StreamRootWait<'a, T> type Item = T::Item; where
Self: Sized, [src]
Notable traits for StreamRootWait<'a, T>
impl<'a, T: Stream> Iterator for StreamRootWait<'a, T> type Item = T::Item;Self: Sized,
Turn a stream into a blocking iterator.
When next is called on the resulting StreamRootWait, the caller
will be blocked until the next element of the Stream becomes
available.
WARNING The resulting StreamRootWait will be blocking preempted
threads. It is recommended to use this method only on the lowest
priority thread.
Implementors
impl<'a, T: Stream> StreamRootExt<'a> for T[src]
fn root_wait(self) -> StreamRootWait<'a, Self>ⓘNotable traits for StreamRootWait<'a, T>
impl<'a, T: Stream> Iterator for StreamRootWait<'a, T> type Item = T::Item; where
Self: Sized, [src]
Notable traits for StreamRootWait<'a, T>
impl<'a, T: Stream> Iterator for StreamRootWait<'a, T> type Item = T::Item;Self: Sized,