pub struct SequenceSlice<'a, S> { /* private fields */ }Expand description
Spawn adapter around a maybe owned slice of commands.
Created by the sequence_slice function.
Trait Implementations§
Source§impl<'a, S: Clone> Clone for SequenceSlice<'a, S>
impl<'a, S: Clone> Clone for SequenceSlice<'a, S>
Source§fn clone(&self) -> SequenceSlice<'a, S>
fn clone(&self) -> SequenceSlice<'a, S>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a, S: Debug> Debug for SequenceSlice<'a, S>
impl<'a, S: Debug> Debug for SequenceSlice<'a, S>
Source§impl<'a, S: PartialEq> PartialEq for SequenceSlice<'a, S>
impl<'a, S: PartialEq> PartialEq for SequenceSlice<'a, S>
Source§impl<'a, S, E> Spawn<E> for SequenceSlice<'a, S>where
S: Send + Sync + Spawn<E>,
S::Error: IsFatalError,
E: ?Sized + Send + LastStatusEnvironment + ReportErrorEnvironment,
impl<'a, S, E> Spawn<E> for SequenceSlice<'a, S>where
S: Send + Sync + Spawn<E>,
S::Error: IsFatalError,
E: ?Sized + Send + LastStatusEnvironment + ReportErrorEnvironment,
Source§type Error = <S as Spawn<E>>::Error
type Error = <S as Spawn<E>>::Error
The type of error that can arise if there is an error during spawning.
Source§fn spawn<'life0, 'life1, 'async_trait>(
&'life0 self,
env: &'life1 mut E,
) -> BoxFuture<'async_trait, Result<BoxFuture<'static, ExitStatus>, Self::Error>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn spawn<'life0, 'life1, 'async_trait>(
&'life0 self,
env: &'life1 mut E,
) -> BoxFuture<'async_trait, Result<BoxFuture<'static, ExitStatus>, Self::Error>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Spawn the command as a future which returns another future. Read more
impl<'a, S: Eq> Eq for SequenceSlice<'a, S>
impl<'a, S> StructuralPartialEq for SequenceSlice<'a, S>
Auto Trait Implementations§
impl<'a, S> Freeze for SequenceSlice<'a, S>
impl<'a, S> RefUnwindSafe for SequenceSlice<'a, S>where
S: RefUnwindSafe,
impl<'a, S> Send for SequenceSlice<'a, S>where
S: Sync,
impl<'a, S> Sync for SequenceSlice<'a, S>where
S: Sync,
impl<'a, S> Unpin for SequenceSlice<'a, S>
impl<'a, S> UnwindSafe for SequenceSlice<'a, S>where
S: RefUnwindSafe,
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