pub struct ProtoHttp2Config {
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 ProtoHttp2Config
impl Clone for ProtoHttp2Config
Source§fn clone(&self) -> ProtoHttp2Config
fn clone(&self) -> ProtoHttp2Config
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 ProtoHttp2Config
impl RefUnwindSafe for ProtoHttp2Config
impl Send for ProtoHttp2Config
impl Sync for ProtoHttp2Config
impl Unpin for ProtoHttp2Config
impl UnwindSafe for ProtoHttp2Config
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