IntoError

Trait IntoError 

Source
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§

Source

fn into_error(self) -> Error

Converts the error into a Jetstream Error.

Implementors§

Source§

impl<T> IntoError for T
where T: Diagnostic + Send + Sync + Display,