pub struct TickCycleHandle<'a, C: ReceiverComplete<'a, TickCycle>> { /* private fields */ }Expand description
A handle that can be used to complete a tick cycle by sending a collection to the next tick.
The C type parameter specifies the collection type that can be used to complete the handle.
Implementations§
Source§impl<'a, C: ReceiverComplete<'a, TickCycle>> TickCycleHandle<'a, C>
impl<'a, C: ReceiverComplete<'a, TickCycle>> TickCycleHandle<'a, C>
Sourcepub fn complete_next_tick(self, stream: impl Into<C>)
pub fn complete_next_tick(self, stream: impl Into<C>)
Sends the provided collection to the next tick, where it will be materialized
in the collection returned by crate::location::Tick::cycle or
crate::location::Tick::cycle_with_initial.
Trait Implementations§
Auto Trait Implementations§
impl<'a, C> Freeze for TickCycleHandle<'a, C>
impl<'a, C> RefUnwindSafe for TickCycleHandle<'a, C>where
C: RefUnwindSafe,
impl<'a, C> !Send for TickCycleHandle<'a, C>
impl<'a, C> !Sync for TickCycleHandle<'a, C>
impl<'a, C> Unpin for TickCycleHandle<'a, C>where
C: Unpin,
impl<'a, C> UnwindSafe for TickCycleHandle<'a, C>where
C: 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> ToSinkBuild for T
impl<T> ToSinkBuild for T
§fn iter_to_sink_build(self) -> SendIterBuild<Self>
fn iter_to_sink_build(self) -> SendIterBuild<Self>
§fn stream_to_sink_build(self) -> SendStreamBuild<Self>where
Self: Sized + Stream,
fn stream_to_sink_build(self) -> SendStreamBuild<Self>where
Self: Sized + Stream,
Starts a [
SinkBuild] adaptor chain to send all items from self as a [Stream].