pub struct SingleThreadRuntime<P, F> { /* private fields */ }Expand description
Runs all dataflows in a single thread on a single machine with no parrallelism.
Implementations§
Source§impl<P, F> SingleThreadRuntime<P, F>
impl<P, F> SingleThreadRuntime<P, F>
Sourcepub fn builder() -> SingleThreadRuntimeBuilder<P, F>
pub fn builder() -> SingleThreadRuntimeBuilder<P, F>
Create an instance of SingleThreadRuntime using the builder syntax
Source§impl<P, F> SingleThreadRuntime<P, F>
impl<P, F> SingleThreadRuntime<P, F>
Auto Trait Implementations§
impl<P, F> Freeze for SingleThreadRuntime<P, F>
impl<P, F> RefUnwindSafe for SingleThreadRuntime<P, F>where
F: RefUnwindSafe,
P: RefUnwindSafe,
impl<P, F> Send for SingleThreadRuntime<P, F>
impl<P, F> Sync for SingleThreadRuntime<P, F>
impl<P, F> Unpin for SingleThreadRuntime<P, F>
impl<P, F> UnsafeUnpin for SingleThreadRuntime<P, F>where
F: UnsafeUnpin,
P: UnsafeUnpin,
impl<P, F> UnwindSafe for SingleThreadRuntime<P, F>where
F: UnwindSafe,
P: 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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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