Function reset [src]

Resets the block device hardware.

Prototype

pub fn reset(self: *Self, extended_verification: bool) ResetError!void

Parameters

self: *Selfextended_verification: bool

Possible Errors

DeviceError
Unexpected UnexpectedError

Source

pub fn reset(self: *Self, extended_verification: bool) ResetError!void { switch (self._reset(self, extended_verification)) { .success => {}, .device_error => return Error.DeviceError, else => |status| return uefi.unexpectedStatus(status), } }