fn try_get_physical_memory_offset<'a>(
    physical_memory_offset: Optional<u64>,
) -> Result<VirtAddr, &'a str> {
    match physical_memory_offset {
        Optional::Some(offset) => Ok(VirtAddr::new(offset)),
        Optional::None => Err("Failed to acquire physical memory offset"),
    }
}
/// Attempts to parse a Virtual address from and Optional u64
Attempts to parse a Virtual address from and Optional u64
Attempts to parse a Virtual address from and Optional u64
fn try_get_physical_memory_offset<'a>(
    physical_memory_offset: Optional<u64>,
) -> Result<VirtAddr, &'a str> {
    match physical_memory_offset {
        Optional::Some(offset) => Ok(VirtAddr::new(offset)),
        Optional::None => Err("Failed to acquire physical memory offset"),
    }
}
fn try_get_physical_memory_offset < ' a > ( physical_memory_offset : Optional < u64 > , ) -> Result < VirtAddr , & ' a str > { match physical_memory_offset { Optional :: Some ( offset ) => Ok ( VirtAddr :: new ( offset ) ) , Optional :: None => Err ( " " ) , } }
Attempts to parse a Virtual address from and Optional u64
Attempts to parse a Virtual address from and Optional u64
physical_memory_offset
Optional<u64>
physical_memory_offset
Optional<u64>