pub trait Args {
// Required method
fn with_docopt(docopt: &Docopt) -> Self;
}Required Methods§
fn with_docopt(docopt: &Docopt) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl Args for ClientArgs
impl Args for CommonArgs
Creates a new CommonArgs structure using the provided Docopt.
The Docopt usage String needs to include the following:
–http-version VERSION HTTP version to use. –max-data BYTES Connection-wide flow control limit. –max-window BYTES Connection-wide max receiver window. –max-stream-data BYTES Per-stream flow control limit. –max-stream-window BYTES Per-stream max receiver window. –max-streams-bidi STREAMS Number of allowed concurrent streams. –max-streams-uni STREAMS Number of allowed concurrent streams. –dump-packets PATH Dump the incoming packets in PATH. –no-grease Don’t send GREASE. –cc-algorithm NAME Set a congestion control algorithm. –disable-hystart Disable HyStart++. –dgram-proto PROTO DATAGRAM application protocol. –dgram-count COUNT Number of DATAGRAMs to send. –dgram-data DATA DATAGRAM data to send. –max-active-cids NUM Maximum number of active Connection IDs. –enable-active-migration Enable active connection migration. –max-field-section-size BYTES Max size of uncompressed field section. –qpack-max-table-capacity BYTES Max capacity of dynamic QPACK decoding. –qpack-blocked-streams STREAMS Limit of blocked streams while decoding. –initial-cwnd-packets Size of initial congestion window, in packets.