pub struct Config<D> {
pub start_read_request_timeout: Option<D>,
pub read_request_timeout: Option<D>,
pub write_timeout: Option<D>,
}Expand description
Server Configuration.
Fields§
§start_read_request_timeout: Option<D>§read_request_timeout: Option<D>§write_timeout: Option<D>Trait Implementations§
Auto Trait Implementations§
impl<D> RefUnwindSafe for Config<D>where
D: RefUnwindSafe,
impl<D> Send for Config<D>where
D: Send,
impl<D> Sync for Config<D>where
D: Sync,
impl<D> Unpin for Config<D>where
D: Unpin,
impl<D> UnwindSafe for Config<D>where
D: UnwindSafe,
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