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: Vec<String>

Trait Implementations

impl Default for SequentialConnector
[src]

fn default() -> Self

Returns the "default value" for a type. Read more

impl NetworkConnector for SequentialConnector
[src]

type Stream = MockStream

Type of Stream to create

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

Connect to a remote address.