Enum kube_client::config::LoadDataError
source · pub enum LoadDataError {
DecodeBase64(DecodeError),
ReadFile(Error, PathBuf),
NoBase64DataOrFile,
}
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)>
Returns 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()
Auto Trait Implementations§
impl Freeze for LoadDataError
impl !RefUnwindSafe for LoadDataError
impl Send for LoadDataError
impl Sync for LoadDataError
impl Unpin for LoadDataError
impl !UnwindSafe for LoadDataError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more