Module send_peer
Expand description
The Send flavour of the network peer’s two halves (#421).
StoreSyncPeer and RemoteSyncPeer implement the bare SyncPeer, so
a !Send store or transport is a valid half: the Durable Object’s SQLite,
its stub. That leaves them out of generic code bound on
SendSyncPeer, a runner that spawns its edge onto a
multi-threaded runtime, and neither type can implement that flavour as
well: trait_variant already gives every
SendSyncPeer the bare trait through a blanket impl, so a second impl on
the same type is error[E0119] (RS-20-4). The Send flavour is a second
type, SendPeer, wrapping the first.
Structs§
- Send
Peer - A
StoreSyncPeerorRemoteSyncPeerof theSendSyncPeerflavour.