• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wboayue / rust-ibapi / 26141138662
92%

Build:
DEFAULT BRANCH: main
Ran 20 May 2026 04:25AM UTC
Jobs 1
Files 128
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 May 2026 04:22AM UTC coverage: 92.141%. Remained the same
26141138662

push

github

web-flow
docs(examples): canonicalize sync stream iteration to iter_data() + Result match (#598)

Resolves v3-api-ergonomics.md \xc2\xa76 'Modernize every example' \xe2\x80\x94 the sync
stream-shape sweep that remained after the order sweep (#549 et al), async
stream sweep (#550), contract lockdown (#548), and typed OrderStatusKind
(#518).

Eight sync examples used `for x in subscription` (which via IntoIterator
yields SubscriptionItem, including notices) or `subscription.iter()` (same
type) instead of the canonical data-only `subscription.iter_data()`. The
print bodies were formatting the wrapper instead of the data:

  broad_tape_news.rs, completed_orders.rs, contract_news.rs,
  positions_multi.rs, readme_realtime_data_1.rs,
  readme_multi_threading_{1,2}.rs, stream_bars.rs

Converted each to the canonical form used elsewhere in examples/sync/
(e.g. market_depth.rs, breakout.rs):

  for x in subscription.iter_data() {
      match x {
          Ok(x) => println!(...),
          Err(e) => { eprintln!(...); break; }
      }
  }

Also fixed 4 README snippets that used `iter_data().flatten()` \xe2\x80\x94
this silently drops Err items (Result\xe2\x80\x99s IntoIterator yields T on Ok,
nothing on Err) per feedback_result_flatten_drops_errors.md. The zip-of-two-
streams snippet now mirrors examples/sync/readme_realtime_data_2.rs\xe2\x80\x99s
`match (Ok(a), Ok(n))` shape.

18994 of 20614 relevant lines covered (92.14%)

27.43 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26141138662.1 20 May 2026 04:25AM UTC 128
92.14
GitHub Action Run
Source Files on build 26141138662
  • Tree
  • List 128
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26141138662
  • 808bf966 on github
  • Prev Build on main (#26140117056)
  • Next Build on main (#26141549267)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc