Struct sandkiste::errors::DatumViewError
source · pub struct DatumViewError {
pub details: &'static str,
}
Expand description
Error when viewing Machine::Datum
as a particular type
See Maybe…
traits in module types
.
For convenience, this error type can be converted into a MachineError
.
Fields§
§details: &'static str
Error description
Implementations§
Trait Implementations§
source§impl Debug for DatumViewError
impl Debug for DatumViewError
source§impl Display for DatumViewError
impl Display for DatumViewError
source§impl Error for DatumViewError
impl Error for DatumViewError
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()
source§impl From<DatumViewError> for MachineError
impl From<DatumViewError> for MachineError
source§fn from(datum_err: DatumViewError) -> Self
fn from(datum_err: DatumViewError) -> Self
Converts to this type from the input type.