pub trait MatrixApiError {
// Required method
fn create_matrix_error(&self) -> MatrixError;
}Expand description
Trait for errors that can be converted into matrix errors
Required Methods§
Sourcefn create_matrix_error(&self) -> MatrixError
fn create_matrix_error(&self) -> MatrixError
Create a matrix error from the error
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".