pub struct Config { /* private fields */ }
Implementations
sourceimpl Config
impl Config
sourcepub fn noisy_stdin(self, value: bool) -> Self
pub fn noisy_stdin(self, value: bool) -> Self
Although it is not part of the spec, the Python and C clients require that
StartReadingStdin
is sent after every stdin chunk has been consumed.
see https://github.com/facebook/nailgun/issues/88
sourcepub fn heartbeat_frequency(self, frequency: Duration) -> Self
pub fn heartbeat_frequency(self, frequency: Duration) -> Self
The “heartbeat” is an optional protocol extension, and is a chunk type sent by the client to the server to indicate that the client is still waiting for a result. By default, the server will not require that heartbeat messages are received, but setting a value here will cause the server to cancel/Drop the connection if a heartbeat message is not received at at least this frequency.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more