pub struct ExecutorInput<T, I: Iterator<Item = T>> { /* private fields */ }
Implementations§
Source§impl<T, I: Iterator<Item = T>> ExecutorInput<T, I>
impl<T, I: Iterator<Item = T>> ExecutorInput<T, I>
pub fn from_iter(iterator: I, addr_mode: ExecutorInputAddressMode) -> Self
Source§impl<T: Send + Sync + 'static, I: Iterator<Item = T>> ExecutorInput<T, I>
impl<T: Send + Sync + 'static, I: Iterator<Item = T>> ExecutorInput<T, I>
pub fn set_output_executor<E: AsyncExecutor<InputPacket = T>>( &mut self, context: &Arc<ExecutionContext>, init_data: E::InitData, priority: usize, )
Auto Trait Implementations§
impl<T, I> Freeze for ExecutorInput<T, I>where
I: Freeze,
impl<T, I> RefUnwindSafe for ExecutorInput<T, I>where
I: RefUnwindSafe,
impl<T, I> Send for ExecutorInput<T, I>where
I: Send,
impl<T, I> Sync for ExecutorInput<T, I>where
I: Sync,
impl<T, I> Unpin for ExecutorInput<T, I>where
I: Unpin,
impl<T, I> UnwindSafe for ExecutorInput<T, I>where
I: 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> 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