pub fn as_str(&self) -> &'static str {
        match self {
            Self::Backend => "Backend error",
            Self::Busy => "Busy",
            Self::Custom => "Custom error",
            Self::Duplicate => "Duplicate",
            Self::Encryption => "Encryption error",
            Self::Input => "Input error",
            Self::NotFound => "Not found",
            Self::Unexpected => "Unexpected error",
            Self::Unsupported => "Unsupported",
        }
    }
/// Convert the error kind to a string reference
Convert the error kind to a string reference
Convert the error kind to a string reference
pub fn as_str(&self) -> &'static str {
        match self {
            Self::Backend => "Backend error",
            Self::Busy => "Busy",
            Self::Custom => "Custom error",
            Self::Duplicate => "Duplicate",
            Self::Encryption => "Encryption error",
            Self::Input => "Input error",
            Self::NotFound => "Not found",
            Self::Unexpected => "Unexpected error",
            Self::Unsupported => "Unsupported",
        }
    }
pub fn as_str ( & self ) -> & ' static str { match self { Self :: Backend => " " , Self :: Busy => " " , Self :: Custom => " " , Self :: Duplicate => " " , Self :: Encryption => " " , Self :: Input => " " , Self :: NotFound => " " , Self :: Unexpected => " " , Self :: Unsupported => " " , } }
Convert the error kind to a string reference
Convert the error kind to a string reference
&self