pub struct MetaValidationError {
pub tool: Cow<'static, str>,
pub error: String,
}Expand description
Per-tool attribute validation error. Reported by
validate_tool_attrs and validate_tool_attrs_for.
Fields§
§tool: Cow<'static, str>§error: StringTrait Implementations§
Source§impl Clone for MetaValidationError
impl Clone for MetaValidationError
Source§fn clone(&self) -> MetaValidationError
fn clone(&self) -> MetaValidationError
Returns a duplicate 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 MetaValidationError
impl Debug for MetaValidationError
Source§impl Display for MetaValidationError
impl Display for MetaValidationError
Source§impl Error for MetaValidationError
impl Error for MetaValidationError
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 MetaValidationError
impl RefUnwindSafe for MetaValidationError
impl Send for MetaValidationError
impl Sync for MetaValidationError
impl Unpin for MetaValidationError
impl UnsafeUnpin for MetaValidationError
impl UnwindSafe for MetaValidationError
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