pub trait MapToResponse<I, R> {
// Required method
fn map_to_response(&self, index_values: I) -> Option<R>;
}Expand description
Trait for converting message storage to response type
Required Methods§
Sourcefn map_to_response(&self, index_values: I) -> Option<R>
fn map_to_response(&self, index_values: I) -> Option<R>
Maps a stored message to an RPC response