Function disable [src]

Prototype

pub fn disable(self: *Ip6) ConfigureError!void

Parameters

self: *Ip6

Possible Errors

AlreadyStarted
DeviceError
InvalidParameter
NoMapping
OutOfResources
Unexpected UnexpectedError
Unsupported

Source

pub fn disable(self: *Ip6) ConfigureError!void { switch (self._configure(self, null)) { .success => {}, .invalid_parameter => return Error.InvalidParameter, .out_of_resources => return Error.OutOfResources, .no_mapping => return Error.NoMapping, .already_started => return Error.AlreadyStarted, .device_error => return Error.DeviceError, .unsupported => return Error.Unsupported, else => |status| return uefi.unexpectedStatus(status), } }