pub struct SequentialConnector {
pub content: Arc<[String]>,
pub current: Arc<Mutex<usize>>,
}Expand description
A connector which requires you to implement the Default trait, allowing you
to determine the data it should be initialized with
Fields§
§content: Arc<[String]>§current: Arc<Mutex<usize>>Implementations§
Trait Implementations§
Source§impl Clone for SequentialConnector
impl Clone for SequentialConnector
Source§fn clone(&self) -> SequentialConnector
fn clone(&self) -> SequentialConnector
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 Service<Uri> for SequentialConnector
impl Service<Uri> for SequentialConnector
Source§type Response = MockPollStream
type Response = MockPollStream
Responses given by the service.
Source§type Future = Pin<Box<dyn Future<Output = Result<<SequentialConnector as Service<Uri>>::Response, <SequentialConnector as Service<Uri>>::Error>> + Send>>
type Future = Pin<Box<dyn Future<Output = Result<<SequentialConnector as Service<Uri>>::Response, <SequentialConnector as Service<Uri>>::Error>> + Send>>
The future response value.
Auto Trait Implementations§
impl Freeze for SequentialConnector
impl !RefUnwindSafe for SequentialConnector
impl Send for SequentialConnector
impl Sync for SequentialConnector
impl Unpin for SequentialConnector
impl !UnwindSafe for SequentialConnector
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