pub fn poll(self: *ManagedNetwork) PollError!void self: *ManagedNetwork182
183
184
185
186
187
188
189
190
191 pub fn poll(self: *ManagedNetwork) PollError!void {
switch (self._poll(self)) {
.success => {},
.not_started => return error.NotStarted,
.device_error => return error.DeviceError,
.not_ready => return error.NotReady,
.timeout => return error.Timeout,
else => |status| return uefi.unexpectedStatus(status),
}
}
Polls for incoming data packets and processes outgoing data packets.