Enum streamunordered::StreamYield [−][src]
An event that occurred for a managed stream.
Variants
Item(S::Item)
The underlying stream produced an item.
Finished(FinishedStream)
The underlying stream has completed.
Trait Implementations
impl<S> Debug for StreamYield<S> where
S: Stream,
S::Item: Debug,
[src]
S: Stream,
S::Item: Debug,
impl<S> PartialEq<StreamYield<S>> for StreamYield<S> where
S: Stream,
S::Item: PartialEq,
[src]
S: Stream,
S::Item: PartialEq,
Auto Trait Implementations
impl<S> RefUnwindSafe for StreamYield<S> where
<S as Stream>::Item: RefUnwindSafe,
[src]
<S as Stream>::Item: RefUnwindSafe,
impl<S> Send for StreamYield<S> where
<S as Stream>::Item: Send,
[src]
<S as Stream>::Item: Send,
impl<S> Sync for StreamYield<S> where
<S as Stream>::Item: Sync,
[src]
<S as Stream>::Item: Sync,
impl<S> Unpin for StreamYield<S> where
<S as Stream>::Item: Unpin,
[src]
<S as Stream>::Item: Unpin,
impl<S> UnwindSafe for StreamYield<S> where
<S as Stream>::Item: UnwindSafe,
[src]
<S as Stream>::Item: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,