pub trait ToStructError<R>where
R: DomainReason,{
// Required methods
fn to_err(self) -> StructError<R>;
fn err_result<T>(self) -> Result<T, StructError<R>>;
}
Required Methods§
fn to_err(self) -> StructError<R>
fn err_result<T>(self) -> Result<T, StructError<R>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.