more clie

This commit is contained in:
nora 2024-08-16 16:49:07 +02:00
parent 85f89b6f84
commit 4ec67dee07
2 changed files with 24 additions and 0 deletions

View file

@ -153,6 +153,10 @@ impl ClientConnection {
}
}
pub fn is_open(&self) -> bool {
matches!(self.state, ClientConnectionState::Open(_))
}
pub fn next_msg_to_send(&mut self) -> Option<ssh_transport::Msg> {
self.transport.next_msg_to_send()
}