pub fn send_keepalive(&mut self, is_waiting_for_user_presence: bool) -> Status {
        if self.pipe.send_keepalive(is_waiting_for_user_presence) {
            Status::ReceivedData(250.milliseconds())
        } else {
            Status::Idle
        }
    }
/// Send a keep alive message with 1 of 2 possible statuses.
Send a keep alive message with 1 of 2 possible statuses.
Send a keep alive message with 1 of 2 possible statuses .
pub fn send_keepalive(&mut self, is_waiting_for_user_presence: bool) -> Status {
        if self.pipe.send_keepalive(is_waiting_for_user_presence) {
            Status::ReceivedData(250.milliseconds())
        } else {
            Status::Idle
        }
    }
pub fn send_keepalive ( & mut self , is_waiting_for_user_presence : bool ) -> Status { if self . pipe . send_keepalive ( is_waiting_for_user_presence ) { Status :: ReceivedData ( 250 . milliseconds ( ) ) } else { Status :: Idle } }
Send a keep alive message with 1 of 2 possible statuses.
Send a keep alive message with 1 of 2 possible statuses .
&mut self
is_waiting_for_user_presence
bool
&mut self
is_waiting_for_user_presence
bool