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

wboayue / rust-ibapi / 21815270884
86%

Build:
DEFAULT BRANCH: main
Ran 09 Feb 2026 06:56AM UTC
Jobs 1
Files 103
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

09 Feb 2026 06:51AM UTC coverage: 86.289% (-0.01%) from 86.301%
21815270884

push

github

web-flow
Add ConnectionOptions with TCP_NODELAY support (#394)

* Add ConnectionOptions struct with TCP_NODELAY support

Replace per-call-site env var approach with a fluent builder API.
ConnectionOptions absorbs tcp_no_delay and startup_callback into a
single options struct. Existing connect/connect_with_callback methods
delegate to new connect_with_options on both sync and async clients.

TCP_NODELAY is applied on initial connect and reconnect for both
sync (TcpSocket) and async (AsyncConnection) paths.

* Add From<Option<StartupMessageCallback>> for ConnectionOptions

Dedup callback-to-options conversion in 3 call sites.

* Avoid unnecessary Arc clone, expand connect_with_options doc

* Move transport setup from sync Client to Connection layer

Push TcpStream creation and TCP_NODELAY into Connection<TcpSocket>::connect_with_options
and TcpSocket::connect, mirroring the async delegation pattern.

* Extract shared init() in sync Connection, unify callback type

- All connect variants converge on init() instead of chaining
- Revert connect_with_callback to Box (matching async signature)
- Remove Arc dependency from sync connection

* Store ConnectionOptions in AsyncConnection, extract connect_socket helper

45 of 50 new or added lines in 6 files covered. (90.0%)

2 existing lines in 2 files now uncovered.

8811 of 10211 relevant lines covered (86.29%)

118.03 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
85.33
2.0% src/connection/common.rs
1
89.22
-1.51% src/connection/sync.rs
1
79.8
0.05% src/transport/sync.rs
2
74.79
-0.21% src/connection/async.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
74.79
-0.21% src/connection/async.rs
1
89.22
-1.51% src/connection/sync.rs
Jobs
ID Job ID Ran Files Coverage
1 21815270884.1 09 Feb 2026 06:56AM UTC 103
86.29
GitHub Action Run
Source Files on build 21815270884
  • Tree
  • List 103
  • Changed 8
  • Source Changed 8
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21815270884
  • ae0554ef on github
  • Prev Build on main (#21812931416)
  • Next Build on main (#21815341869)
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