pub trait MachineStopType:
Any
+ Display
+ Debug
+ Send {
// Provided method
fn with_validation_path(&mut self, _path: String) { ... }
}Expand description
A trait for machine-specific errors (or other “machine stop” conditions).
Provided Methods§
Sourcefn with_validation_path(&mut self, _path: String)
fn with_validation_path(&mut self, _path: String)
This error occurred during validation, inside a value at the given path.
Implementations§
Source§impl dyn MachineStopType
impl dyn MachineStopType
pub fn downcast_ref<T: Any>(&self) -> Option<&T>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".