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