[−][src]Trait unix::mem::MapExt
Values which can be mapped into memory
Associated Types
type MapSpec
Specifier of which part of value to map
Required methods
fn map(&self, perm: Perm, seg: Self::MapSpec) -> Result<Map, Error>
Map the value into memory at an unspecified location.
unsafe fn map_at(
&self,
loc: *mut u8,
perm: Perm,
seg: Self::MapSpec
) -> Result<Map, Error>
&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
fn map(&self, perm: Perm, length: usize) -> Result<Map, Error>
[src]
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>