pub struct MessageResult<M: Message>(pub M::Result);
Helper type that implements MessageResponse trait
MessageResponse
0: M::Result
TypeId
self
Returns the argument unchanged.
Calls U::from(self).
U::from(self)
That is, this conversion is whatever the implementation of From<T> for U chooses to do.
From<T> for U