translate_slice

Function translate_slice 

Source
pub fn translate_slice<'a, T>(
    memory_mapping: &MemoryMapping<'_>,
    vm_addr: u64,
    len: u64,
    check_aligned: bool,
) -> Result<&'a [T], Box<dyn Error>>
👎Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.