Function poll [src]

Prototype

pub fn poll(self: *Udp6) PollError!void

Parameters

self: *Udp6

Possible Errors

DeviceError
InvalidParameter
Timeout
Unexpected UnexpectedError

Source

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), } }