pub struct WithExtra<T, Ex> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<Route, Msg, T: FlushRoute<Route, Msg>, Ex> FlushRoute<Route, Msg> for WithExtra<T, Ex>
Available on crate feature route-sink only.
impl<Route, Msg, T: FlushRoute<Route, Msg>, Ex> FlushRoute<Route, Msg> for WithExtra<T, Ex>
Available on crate feature
route-sink only.Source§impl<T: FusedFuture, Ex> FusedFuture for WithExtra<T, Ex>
Available on crate feature futures-core only.
impl<T: FusedFuture, Ex> FusedFuture for WithExtra<T, Ex>
Available on crate feature
futures-core only.Source§fn is_terminated(&self) -> bool
fn is_terminated(&self) -> bool
Returns
true if the underlying future should no longer be polled.Source§impl<T: FusedStream, Ex> FusedStream for WithExtra<T, Ex>
Available on crate feature futures-core only.
impl<T: FusedStream, Ex> FusedStream for WithExtra<T, Ex>
Available on crate feature
futures-core only.Source§fn is_terminated(&self) -> bool
fn is_terminated(&self) -> bool
Returns
true if the stream should no longer be polled.Source§impl<Route, Msg, T: ReadyRoute<Route, Msg>, Ex> ReadyRoute<Route, Msg> for WithExtra<T, Ex>
Available on crate feature route-sink only.
impl<Route, Msg, T: ReadyRoute<Route, Msg>, Ex> ReadyRoute<Route, Msg> for WithExtra<T, Ex>
Available on crate feature
route-sink only.Source§impl<Route, Msg, T: ReadySome<Route, Msg>, Ex> ReadySome<Route, Msg> for WithExtra<T, Ex>
Available on crate feature route-sink only.
impl<Route, Msg, T: ReadySome<Route, Msg>, Ex> ReadySome<Route, Msg> for WithExtra<T, Ex>
Available on crate feature
route-sink only.Source§impl<Item, T: Sink<Item>, Ex> Sink<Item> for WithExtra<T, Ex>
Available on crate feature futures-sink only.
impl<Item, T: Sink<Item>, Ex> Sink<Item> for WithExtra<T, Ex>
Available on crate feature
futures-sink only.Source§type Error = <T as Sink<Item>>::Error
type Error = <T as Sink<Item>>::Error
The type of value produced by the sink when an error occurs.
Source§fn poll_ready(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<Result<(), Self::Error>>
fn poll_ready( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<Result<(), Self::Error>>
Attempts to prepare the
Sink to receive a value. Read moreSource§fn start_send(self: Pin<&mut Self>, item: Item) -> Result<(), Self::Error>
fn start_send(self: Pin<&mut Self>, item: Item) -> Result<(), Self::Error>
Begin the process of sending a value to the sink.
Each call to this function must be preceded by a successful call to
poll_ready which returned Poll::Ready(Ok(())). Read moreSource§impl<T: Stream, Ex> Stream for WithExtra<T, Ex>
Available on crate feature futures-core only.
impl<T: Stream, Ex> Stream for WithExtra<T, Ex>
Available on crate feature
futures-core only.impl<T: Copy, Ex: Copy> Copy for WithExtra<T, Ex>
impl<T: Eq, Ex: Eq> Eq for WithExtra<T, Ex>
impl<T, Ex> StructuralPartialEq for WithExtra<T, Ex>
impl<'pin, T, Ex> Unpin for WithExtra<T, Ex>where
PinnedFieldsOf<__WithExtra<'pin, T, Ex>>: Unpin,
Auto Trait Implementations§
impl<T, Ex> Freeze for WithExtra<T, Ex>
impl<T, Ex> RefUnwindSafe for WithExtra<T, Ex>where
T: RefUnwindSafe,
Ex: RefUnwindSafe,
impl<T, Ex> Send for WithExtra<T, Ex>
impl<T, Ex> Sync for WithExtra<T, Ex>
impl<T, Ex> UnwindSafe for WithExtra<T, Ex>where
T: UnwindSafe,
Ex: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more