pub struct MdaConfigError {
pub category: ErrorCategory,
pub message: String,
pub details: Value,
}Fields§
§category: ErrorCategory§message: String§details: ValueImplementations§
Source§impl MdaConfigError
impl MdaConfigError
pub fn new( category: ErrorCategory, message: impl Into<String>, ) -> MdaConfigError
pub fn with_details( category: ErrorCategory, message: impl Into<String>, details: Value, ) -> MdaConfigError
Trait Implementations§
Source§impl Debug for MdaConfigError
impl Debug for MdaConfigError
Source§impl Display for MdaConfigError
impl Display for MdaConfigError
Source§impl Error for MdaConfigError
impl Error for MdaConfigError
1.30.0 · 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 MdaConfigError
impl RefUnwindSafe for MdaConfigError
impl Send for MdaConfigError
impl Sync for MdaConfigError
impl Unpin for MdaConfigError
impl UnsafeUnpin for MdaConfigError
impl UnwindSafe for MdaConfigError
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