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
sourceimpl Debug for LoadDataError
impl Debug for LoadDataError
sourceimpl Display for LoadDataError
impl Display for LoadDataError
sourceimpl Error for LoadDataError
impl Error for LoadDataError
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations
impl !RefUnwindSafe for LoadDataError
impl Send for LoadDataError
impl Sync for LoadDataError
impl Unpin for LoadDataError
impl !UnwindSafe for LoadDataError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more