pub async fn kernel_status(&self, name: impl AsRef<str>) -> anyhow::Result<serde_json::Value> {
        let (owner_slug, kernel_slug) = self.get_user_and_identifier_slug(name.as_ref())?;
        Ok(Self::request_json(self.client.get(self.join_url(format!(
            "kernels/status?userName={}&kernelSlug={}",
            owner_slug, kernel_slug
        ))?))
        .await?)
    }
/// Get the status of a kernel.
Get the status of a kernel.
Get the status of a kernel .
pub async fn kernel_status(&self, name: impl AsRef<str>) -> anyhow::Result<serde_json::Value> {
        let (owner_slug, kernel_slug) = self.get_user_and_identifier_slug(name.as_ref())?;
        Ok(Self::request_json(self.client.get(self.join_url(format!(
            "kernels/status?userName={}&kernelSlug={}",
            owner_slug, kernel_slug
        ))?))
        .await?)
    }
pub async fn kernel_status ( & self , name : impl AsRef < str > ) -> anyhow :: Result < serde_json :: Value > { let ( owner_slug , kernel_slug ) = self . get_user_and_identifier_slug ( name . as_ref ( ) ) ? ; Ok ( Self :: request_json ( self . client . get ( self . join_url ( format ! ( " " owner_slug kernel_slug ) ) ? ) ) . await ? ) }
Get the status of a kernel.
Get the status of a kernel .
&self
name
impl AsRef<str>
&self
name
impl AsRef<str>