type HeartbeatResponseResult = Result<HeartbeatResponse, Status>;
enum HeartbeatResponseResult { Ok(HeartbeatResponse), Err(Status), }
Contains the success value
Contains the error value