Trait IntoError
pub trait IntoError: Send + Sync {
// Required method
fn into_error(self) -> Error;
}Expand description
IntoError trait allows conversion of various error types into Jetstream Error.
Required Methods§
fn into_error(self) -> Error
fn into_error(self) -> Error
Converts the error into a Jetstream Error.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".