Function getModeData [src]
Returns the operational parameters for the current MNP child driver.
May also support returning the underlying SNP driver mode data.
Prototype
pub fn getModeData(self: *const ManagedNetwork) GetModeDataError!GetModeDataData
Parameters
self: *const ManagedNetwork
Possible Errors
Source
pub fn getModeData(self: *const ManagedNetwork) GetModeDataError!GetModeDataData {
var data: GetModeDataData = undefined;
switch (self._get_mode_data(self, &data.mnp_config, &data.snp_mode)) {
.success => return data,
else => |status| {
try status.err();
return uefi.unexpectedStatus(status);
},
}
}