Skip to main content

IntoError

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

Converts the error into a Jetstream Error.

Implementors§

§

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