Struct yup_hyper_mock::SequentialConnector [] [src]

pub struct SequentialConnector {
    pub content: Vec<String>,
    // some fields omitted
}

A connector which requires you to implement the Default trait, allowing you to determine the data it should be initialized with

Fields

content

Trait Implementations

impl Default for SequentialConnector

fn default() -> Self

impl NetworkConnector for SequentialConnector

type Stream = MockStream

fn connect(&self, host: &str, port: u16, scheme: &str) -> Result<MockStream>