pub struct SingleRunConnector { /* private fields */ }
Expand description
A connector that produces a single proxy and instructs all suites to be executed using it.
Implementations§
Source§impl SingleRunConnector
impl SingleRunConnector
pub fn new(proxy: RunBuilderProxy) -> Self
Trait Implementations§
Source§impl RunBuilderConnector for SingleRunConnector
impl RunBuilderConnector for SingleRunConnector
Source§fn connect<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<RunBuilderProxy, ConnectionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn connect<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<RunBuilderProxy, ConnectionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Create a new connection to RunBuilder.
Source§fn batch_size(&self) -> usize
fn batch_size(&self) -> usize
Number of suites for which a connection produced by this connector
should be used.
Auto Trait Implementations§
impl !Freeze for SingleRunConnector
impl !RefUnwindSafe for SingleRunConnector
impl Send for SingleRunConnector
impl Sync for SingleRunConnector
impl Unpin for SingleRunConnector
impl !UnwindSafe for SingleRunConnector
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, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
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