Struct exocore_transport::http::HttpTransportConfig
source · pub struct HttpTransportConfig {
pub listen_addresses: Vec<Url>,
pub handle_in_channel_size: usize,
pub handle_out_channel_size: usize,
pub request_timeout: Duration,
}
Expand description
Configuration for HTTP transport.
Fields§
§listen_addresses: Vec<Url>
§handle_in_channel_size: usize
§handle_out_channel_size: usize
§request_timeout: Duration
Implementations§
Trait Implementations§
source§impl Clone for HttpTransportConfig
impl Clone for HttpTransportConfig
source§fn clone(&self) -> HttpTransportConfig
fn clone(&self) -> HttpTransportConfig
Returns a copy 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 RefUnwindSafe for HttpTransportConfig
impl Send for HttpTransportConfig
impl Sync for HttpTransportConfig
impl Unpin for HttpTransportConfig
impl UnwindSafe for HttpTransportConfig
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