pub type MethodResult = Result<Vec<Message>, MethodErr>;
Result containing the Messages returned from the Method, or a MethodErr.
pub enum MethodResult { Ok(Vec<Message>), Err(MethodErr), }
Contains the success value
Contains the error value