[−][src]Type Definition mynewt::result::MynewtResult
type MynewtResult<T> = Result<T, MynewtError>;
Common return type for Mynewt API. If no error, returns Ok(val)
where val has type T.
Upon error, returns Err(err)
where err is the MynewtError error code.