pub struct ClientConf {
pub http: ClientConf,
}Expand description
Client configuration.
Fields§
§http: ClientConfHTTP/2 client configuration.
Implementations§
Source§impl ClientConf
impl ClientConf
Sourcepub fn new() -> ClientConf
pub fn new() -> ClientConf
Create default configuration.
Trait Implementations§
Source§impl Clone for ClientConf
impl Clone for ClientConf
Source§fn clone(&self) -> ClientConf
fn clone(&self) -> ClientConf
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClientConf
impl Debug for ClientConf
Source§impl Default for ClientConf
impl Default for ClientConf
Source§fn default() -> ClientConf
fn default() -> ClientConf
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClientConf
impl RefUnwindSafe for ClientConf
impl Send for ClientConf
impl Sync for ClientConf
impl Unpin for ClientConf
impl UnwindSafe for ClientConf
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