Enum kube_client::config::LoadDataError
source · pub enum LoadDataError {
DecodeBase64(DecodeError),
ReadFile(Error, PathBuf),
NoBase64DataOrFile,
}
Available on crate feature
config
only.Expand description
Errors from loading data from a base64 string or a file
Variants§
DecodeBase64(DecodeError)
Failed to decode base64 data
ReadFile(Error, PathBuf)
Failed to read file
NoBase64DataOrFile
No base64 data or file path was provided
Trait Implementations§
source§impl Debug for LoadDataError
impl Debug for LoadDataError
source§impl Display for LoadDataError
impl Display for LoadDataError
source§impl Error for LoadDataError
impl Error for LoadDataError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()