pub struct ProtoHttp1ClientConfig {
pub max_header_size: usize,
pub max_body_size: usize,
pub timeout: Duration,
}Fields§
§max_header_size: usize§max_body_size: usize§timeout: DurationTrait Implementations§
Source§impl Clone for ProtoHttp1ClientConfig
impl Clone for ProtoHttp1ClientConfig
Source§fn clone(&self) -> ProtoHttp1ClientConfig
fn clone(&self) -> ProtoHttp1ClientConfig
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 moreAuto Trait Implementations§
impl Freeze for ProtoHttp1ClientConfig
impl RefUnwindSafe for ProtoHttp1ClientConfig
impl Send for ProtoHttp1ClientConfig
impl Sync for ProtoHttp1ClientConfig
impl Unpin for ProtoHttp1ClientConfig
impl UnwindSafe for ProtoHttp1ClientConfig
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