pub fn resetStatistics(self: *SimpleNetwork) StatisticsError!void self: *SimpleNetwork212
213
214
215
216
217
218
219
220
221 pub fn resetStatistics(self: *SimpleNetwork) StatisticsError!void {
switch (self._statistics(self, true, null, null)) {
.success => {},
.not_started => return error.NotStarted,
.invalid_parameter => return error.InvalidParameter,
.device_error => return error.DeviceError,
.unsupported => return error.Unsupported,
else => |status| return uefi.unexpectedStatus(status),
}
}