pub enum ViewResult<View, Error> {
ViewResponse(View),
ContractError(Error),
RuntimeError(String),
}Variants§
Trait Implementations§
source§impl<V, E> From<ViewResult<V, E>> for WarpResult<V, E>
impl<V, E> From<ViewResult<V, E>> for WarpResult<V, E>
source§fn from(value: ViewResult<V, E>) -> Self
fn from(value: ViewResult<V, E>) -> Self
Converts to this type from the input type.
source§impl<V, E> From<WarpResult<V, E>> for ViewResult<V, E>
impl<V, E> From<WarpResult<V, E>> for ViewResult<V, E>
source§fn from(value: WarpResult<V, E>) -> Self
fn from(value: WarpResult<V, E>) -> Self
Converts to this type from the input type.