pub type Result<T> = Result<T, Error>;Aliased Type§
pub enum Result<T> {
Ok(T),
Err(Error),
}Variants§
Trait Implementations§
Source§impl<T: Serialize> ToRpcResponseResult for Result<T>
impl<T: Serialize> ToRpcResponseResult for Result<T>
fn to_rpc_result(self) -> ResponseResult
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.