pub struct ClientArgs {Show 15 fields
pub version: u32,
pub dump_response_path: Option<String>,
pub dump_json: Option<usize>,
pub urls: Vec<Url>,
pub reqs_cardinal: u64,
pub req_headers: Vec<String>,
pub no_verify: bool,
pub trust_origin_ca_pem: Option<String>,
pub body: Option<Vec<u8>>,
pub method: String,
pub connect_to: Option<String>,
pub session_file: Option<String>,
pub source_port: u16,
pub perform_migration: bool,
pub send_priority_update: bool,
}Expand description
Application-specific arguments that compliment the CommonArgs.
Fields§
§version: u32§dump_response_path: Option<String>§dump_json: Option<usize>§urls: Vec<Url>§reqs_cardinal: u64§req_headers: Vec<String>§no_verify: bool§trust_origin_ca_pem: Option<String>§body: Option<Vec<u8>>§method: String§connect_to: Option<String>§session_file: Option<String>§source_port: u16§perform_migration: bool§send_priority_update: boolTrait Implementations§
Source§impl Args for ClientArgs
impl Args for ClientArgs
fn with_docopt(docopt: &Docopt) -> Self
Auto Trait Implementations§
impl Freeze for ClientArgs
impl RefUnwindSafe for ClientArgs
impl Send for ClientArgs
impl Sync for ClientArgs
impl Unpin for ClientArgs
impl UnwindSafe for ClientArgs
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more