Function registerDataNotify [src]

Prototype

pub fn registerDataNotify( self: *const Ip6Config, data_type: DataType, event: Event, ) RegisterDataNotifyError!void

Parameters

self: *const Ip6Configdata_type: DataTypeevent: Event

Possible Errors

AccessDenied
InvalidParameter
OutOfResources
Unexpected UnexpectedError
Unsupported

Source

pub fn registerDataNotify( self: *const Ip6Config, data_type: DataType, event: Event, ) RegisterDataNotifyError!void { switch (self._register_data_notify(self, data_type, event)) { .success => {}, .invalid_parameter => return Error.InvalidParameter, .unsupported => return Error.Unsupported, .out_of_resources => return Error.OutOfResources, .access_denied => return Error.AccessDenied, else => |status| return uefi.unexpectedStatus(status), } }