Function cancel [src]

Aborts an asynchronous transmit or receive request.

Prototype

pub fn cancel(self: *const ManagedNetwork, token: ?*const CompletionToken) Status

Parameters

self: *const ManagedNetworktoken: ?*const CompletionToken

Source

pub fn cancel(self: *const ManagedNetwork, token: ?*const CompletionToken) Status { return self._cancel(self, token); }