glm-5.2
528cfa0367
docs(adr): 092 — remove Connection::from_stream, from_bidi is the only public constructor
...
The earlier draft kept from_stream as an 'escape hatch' for already-split
transports. That bakes the split into the constructor API — the same
split-leaf shape pushed one step earlier. The cleaner normalization: the
split never crosses a crate boundary as part of a constructor.
- Connection::from_bidi is the only public stream constructor.
- Connection::from_stream(send, recv, ...) is removed.
- The channels reassembly path joins MpscSendStream/MpscRecvStream itself
via tokio::io::join (one line) and calls from_bidi.
- The call crate's 5 test stub sites do tokio::io::split(x) then
from_stream — they become from_bidi(x) directly. The split was always
gratuitous at the call site.
- SendStream::from_stream / RecvStream::from_stream (per-half boxing for
into_sub_streams() and the SubStreamHandle leaves) are retained — not
constructors that feed Connection.
2026-07-18 03:37:22 +00:00
..
2026-06-15 22:14:58 +00:00
2026-06-22 05:46:37 +00:00
2026-07-09 07:40:51 +00:00
2026-06-22 05:46:37 +00:00
2026-07-09 07:40:51 +00:00
2026-06-15 22:14:58 +00:00
2026-07-09 07:40:51 +00:00
2026-07-09 07:40:51 +00:00
2026-06-28 09:19:10 +00:00
2026-07-16 11:33:18 +00:00
2026-06-16 14:22:20 +00:00
2026-06-16 14:22:20 +00:00
2026-06-18 03:16:45 +00:00
2026-06-18 07:38:33 +00:00
2026-06-22 13:44:58 +00:00
2026-06-23 08:20:27 +00:00
2026-07-16 11:33:18 +00:00
2026-07-09 07:40:51 +00:00
2026-06-23 06:06:11 +00:00
2026-06-23 08:20:27 +00:00
2026-06-22 05:46:37 +00:00
2026-07-09 11:42:56 +00:00
2026-07-02 07:43:01 +00:00
2026-06-22 13:44:58 +00:00
2026-07-09 07:40:51 +00:00
2026-06-23 08:20:27 +00:00
2026-07-14 07:59:04 +00:00
2026-06-27 06:04:19 +00:00
2026-06-27 12:12:25 +00:00
2026-06-28 08:49:36 +00:00
2026-06-28 11:10:31 +00:00
2026-06-27 12:12:25 +00:00
2026-06-28 11:10:31 +00:00
2026-06-30 05:55:55 +00:00
2026-06-28 11:10:31 +00:00
2026-06-30 09:49:25 +00:00
2026-06-29 05:53:38 +00:00
2026-06-30 05:55:55 +00:00
2026-06-29 05:53:38 +00:00
2026-06-30 05:55:55 +00:00
2026-06-29 08:34:44 +00:00
2026-07-01 05:41:07 +00:00
2026-06-30 05:55:55 +00:00
2026-06-30 09:49:25 +00:00
2026-06-30 09:49:25 +00:00
2026-07-01 05:41:07 +00:00
2026-07-01 05:41:07 +00:00
2026-07-01 05:41:07 +00:00
2026-07-02 07:43:01 +00:00
2026-07-04 16:08:04 +00:00
2026-07-06 13:30:59 +00:00
2026-07-07 11:15:52 +00:00
2026-07-07 11:15:52 +00:00
2026-07-07 11:15:52 +00:00
2026-07-06 15:05:36 +00:00
2026-07-07 10:38:49 +00:00
2026-07-07 11:15:52 +00:00
2026-07-08 09:29:22 +00:00
2026-07-08 09:29:22 +00:00
2026-07-10 07:31:55 +00:00
2026-07-08 09:29:22 +00:00
2026-07-08 09:29:22 +00:00
2026-07-08 09:29:22 +00:00
2026-07-09 07:40:51 +00:00
2026-07-09 07:40:51 +00:00
2026-07-09 11:42:56 +00:00
2026-07-10 06:26:56 +00:00
2026-07-09 16:01:30 +00:00
2026-07-16 11:33:18 +00:00
2026-07-12 10:55:25 +00:00
2026-07-12 17:36:24 +00:00
2026-07-12 15:47:42 +00:00
2026-07-12 15:47:42 +00:00
2026-07-12 15:47:42 +00:00
2026-07-12 15:47:42 +00:00
2026-07-12 12:57:18 +00:00
2026-07-12 15:47:42 +00:00
2026-07-12 12:57:18 +00:00
2026-07-12 12:57:18 +00:00
2026-07-17 08:54:04 +00:00
2026-07-13 09:22:32 +00:00
2026-07-16 11:33:18 +00:00
2026-07-16 11:33:18 +00:00
2026-07-14 12:46:16 +00:00
2026-07-14 12:46:16 +00:00
2026-07-15 05:19:11 +00:00
2026-07-17 05:56:47 +00:00
2026-07-16 11:33:18 +00:00
2026-07-17 08:54:04 +00:00
2026-07-16 11:33:18 +00:00
2026-07-17 08:54:04 +00:00
2026-07-18 03:37:22 +00:00