mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-28 17:21:34 +00:00
Re-export OneShotHandlerConfig. Make fields public. (#1538)
Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com>
This commit is contained in:
@ -245,9 +245,9 @@ where
|
||||
#[derive(Debug)]
|
||||
pub struct OneShotHandlerConfig {
|
||||
/// After the given duration has elapsed, an inactive connection will shutdown.
|
||||
inactive_timeout: Duration,
|
||||
pub inactive_timeout: Duration,
|
||||
/// Timeout duration for each newly opened outbound substream.
|
||||
substream_timeout: Duration,
|
||||
pub substream_timeout: Duration,
|
||||
}
|
||||
|
||||
impl Default for OneShotHandlerConfig {
|
||||
|
Reference in New Issue
Block a user