[−][src]Trait unix::mem::MapExt
Values which can be mapped into memory
Associated Types
Loading content...Required methods
pub fn map(&self, perm: Perm, seg: Self::MapSpec) -> Result<Map, Error>
[src]
Map the value into memory at an unspecified location.
pub unsafe fn map_at(
&self,
loc: *mut u8,
perm: Perm,
seg: Self::MapSpec
) -> Result<Map, Error>
[src]
&self,
loc: *mut u8,
perm: Perm,
seg: Self::MapSpec
) -> Result<Map, Error>
Map the value into memory at the given location.
Implementors
impl MapExt for ()
[src]
type MapSpec = usize
pub fn map(&self, perm: Perm, length: usize) -> Result<Map, Error>
[src]
pub unsafe fn map_at(
&self,
loc: *mut u8,
perm: Perm,
length: usize
) -> Result<Map, Error>
[src]
&self,
loc: *mut u8,
perm: Perm,
length: usize
) -> Result<Map, Error>