pub fn poll(self: *Udp6) PollError!void
self: *Udp6
165 166 167 168 169 170 171 172 173
pub fn poll(self: *Udp6) PollError!void { switch (self._poll(self)) { .success => {}, .invalid_parameter => return error.InvalidParameter, .device_error => return error.DeviceError, .timeout => return error.Timeout, else => |status| return uefi.unexpectedStatus(status), } }