pub trait MethodReturn<C>: Send {
type R: Serialize + Send + Sync;
type E: Debug + Send + Sync;
// Required method
fn into_return(self) -> Result<Self::R, Self::E>;
}Expand description
Trait for types that can be returned by RPC method, is commonly serializable type, or a result wrapper for it