pub trait IntoRespResultWithErr<T, E: RespError> {
// Required method
fn into_with_err<Et: Into<E>>(self, err: Et) -> RespResult<T, E>;
}Expand description
convert into RespResult with provide error
Required Methods§
fn into_with_err<Et: Into<E>>(self, err: Et) -> RespResult<T, E>
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.