(
&mut self,
channel: russh::Channel<russh::server::Msg>,
_session: &mut Session,
)
| 266 | } |
| 267 | |
| 268 | async fn channel_open_session( |
| 269 | &mut self, |
| 270 | channel: russh::Channel<russh::server::Msg>, |
| 271 | _session: &mut Session, |
| 272 | ) -> Result<bool, Self::Error> { |
| 273 | self.channels.insert(channel.id(), ChannelState::default()); |
| 274 | Ok(true) |
| 275 | } |
| 276 | |
| 277 | /// Clean up per-channel state when the channel is closed. |
| 278 | /// |
no test coverage detected