Struct ClientArgs

Source
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: bool

Trait Implementations§

Source§

impl Args for ClientArgs

Source§

fn with_docopt(docopt: &Docopt) -> Self

Source§

impl Default for ClientArgs

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> ErasedDestructor for T
where T: 'static,