Skip to main content

drive_with_slow_payloads

Function drive_with_slow_payloads 

Source
pub async fn drive_with_slow_payloads<S, C, E>(
    app: WireframeApp<S, C, E>,
    payloads: Vec<Vec<u8>>,
    config: SlowIoConfig,
) -> Result<Vec<u8>, Error>
where S: TestSerializer, C: Send + 'static, E: Packet,
Expand description

Encode payloads with the default length-delimited codec and drive app.

ยงErrors

Returns any I/O or configuration error encountered while driving the in-memory transport.