pub fn cancel(self: *ManagedNetwork, token: ?*const CompletionToken) CancelError!void self: *ManagedNetworktoken: ?*const CompletionToken171
172
173
174
175
176
177
178
179 pub fn cancel(self: *ManagedNetwork, token: ?*const CompletionToken) CancelError!void {
switch (self._cancel(self, token)) {
.success => {},
.not_started => return error.NotStarted,
.invalid_parameter => return error.InvalidParameter,
.not_found => return error.NotFound,
else => |status| return uefi.unexpectedStatus(status),
}
}
Aborts an asynchronous transmit or receive request.