Skip to content

SendToken

[Source]

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.

class val SendToken is
  Equatable[SendToken val] ref

Implements


Public fields

let id: USize val

[Source]


Public Functions

eq

[Source]

fun box eq(
  that: SendToken val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: SendToken val)
: Bool val

Parameters

Returns