Struct libp2p_request_response::RequestResponseConfig [−][src]
pub struct RequestResponseConfig { /* fields omitted */ }Expand description
The configuration for a RequestResponse protocol.
Implementations
Sets the keep-alive timeout of idle connections.
Sets the timeout for inbound and outbound requests.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RequestResponseConfigimpl Send for RequestResponseConfigimpl Sync for RequestResponseConfigimpl Unpin for RequestResponseConfigimpl UnwindSafe for RequestResponseConfigBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V