Function connection_loop
Source pub async fn connection_loop<P: PlatformServices>(
serv: &SSHServer<'_>,
chan_pipe: &Channel<NoopRawMutex, SessionType, 1>,
config: &SunsetMutex<SSHStampConfig>,
platform: &P,
can_queue: &Channel<NoopRawMutex, ChanHandle, 1>,
) -> Result<(), Error>
Expand description
Handles the SSH connection loop, processing events from clients.
§Errors
Returns an error if SSH protocol operations fail.
§Panics
Panics if flash storage lock cannot be acquired when saving configuration.