pub fn cancel(self: *Ip6, token: ?*CompletionToken) CancelError!void self: *Ip6token: ?*CompletionToken269
270
271
272
273
274
275
276
277
278 pub fn cancel(self: *Ip6, token: ?*CompletionToken) CancelError!void {
switch (self._cancel(self, token)) {
.success => {},
.invalid_parameter => return error.InvalidParameter,
.not_started => return error.NotStarted,
.not_found => return error.NotFound,
.device_error => return error.DeviceError,
else => |status| return uefi.unexpectedStatus(status),
}
}
Abort an asynchronous transmits or receive request.