pub async fn immediately(result: Result<Status, Error>) -> Result<bool, Error> {
        if let Ok(Status::Canceled) = result {
            return Ok(false);
        }
        Ok(true)
    }
/// Reconnect immediately unless the `Status` was `Canceled`
Reconnect immediately unless the `Status` was `Canceled`
Reconnect immediately unless the ` Status ` was ` Canceled `
pub async fn immediately(result: Result<Status, Error>) -> Result<bool, Error> {
        if let Ok(Status::Canceled) = result {
            return Ok(false);
        }
        Ok(true)
    }
pub async fn immediately ( result : Result < Status , Error > ) -> Result < bool , Error > { if let Ok ( Status :: Canceled ) = result { return Ok ( false ) ; } Ok ( true ) }
Reconnect immediately unless the `Status` was `Canceled`
Reconnect immediately unless the ` Status ` was ` Canceled `
result
Result<Status, Error>
result
Result<Status, Error>