SendToken¶
Identifies a send operation. Returned by send() on success and delivered
to _on_sent() when the data has been fully handed to the OS.
Tokens use structural equality based on their ID, which is scoped per connection. Applications managing multiple connections should pair tokens with connection identity to avoid ambiguity.
Implements¶
Public fields¶
let id: USize val¶
Public Functions¶
eq¶
Parameters¶
- that: SendToken val
Returns¶
- Bool val
ne¶
Parameters¶
- that: SendToken val
Returns¶
- Bool val