struct MemMap {
/* private fields */
}| Name | Description |
|---|---|
| anon | Creates an memory mapping which is not backed by a file. |
| file | Creates an memory mapping of a file. |
| Receiver | Name | Description |
|---|---|---|
&mut self | advise | Advise the kernel of a certain memory usage pattern. |
&self | protect | Change the memory protection of a region. |
&mut self | resize | Resizes an existing mapping. |
&self | sync | Flushes changes to a mapped file to the filesystem. |
| Name | Description |
|---|---|
| Deref | Objects that implement the immutable dereference operator. |
| DerefMut | Objects that implement the mutable dereference operator. |
| Drop | Objects with a destructor. |
| UndefState | Types that are not valid when they contain certain bit patterns. |