Struct vrp_pragmatic::format::FormatError
source · pub struct FormatError {
pub code: String,
pub cause: String,
pub action: String,
pub details: Option<String>,
}
Expand description
A format error.
Fields§
§code: String
An error code in registry.
cause: String
A possible error cause.
action: String
An action to take in order to recover from error.
details: Option<String>
A details about exception.
Implementations§
source§impl FormatError
impl FormatError
Trait Implementations§
source§impl Clone for FormatError
impl Clone for FormatError
source§fn clone(&self) -> FormatError
fn clone(&self) -> FormatError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FormatError
impl Debug for FormatError
source§impl Display for FormatError
impl Display for FormatError
source§impl Error for FormatError
impl Error for FormatError
1.30.0 · 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()
Auto Trait Implementations§
impl RefUnwindSafe for FormatError
impl Send for FormatError
impl Sync for FormatError
impl Unpin for FormatError
impl UnwindSafe for FormatError
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