pub struct KeepAlive { /* private fields */ }
Expand description
Configure the interval between keep-alive messages, the content of each message, and the associated stream.
Implementations
Customize the interval between keep-alive messages.
Default is 15 seconds.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for KeepAlive
impl UnwindSafe for KeepAlive
Blanket Implementations
Mutably borrows from an owned value. Read more
Create a new Policy
that returns Action::Follow
only if self
and other
return
Action::Follow
. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more