Crate pages_and_pages

Source
Expand description

Allows control over a manually allocated region of page-aligned memory with support for granular protection and locking of underlying pages

Modules§

error
Error types
page
Provides methods for pages, currently just page::size

Structs§

Allocation
Represents an allocation of 1 or more pages of memory
InaccessiblePages
Represents a page, or range of pages with Inaccessible accessibility
MutPages
Represents a page, or range of pages with Mutable accessibility
Pages
Represents a page, or range of pages with Immutable accessibility

Enums§

Accessibility
Represents the accessibility of a page or range of pages in memory. Corresponds to the page protection
PagesType
Represents the type of pages object. Contains either MutPages, Pages, or InaccessiblePages. Corresponds to the Accessibility of the pages.

Traits§

AnyPages
Common trait of all types of pages Note: This trait is sealed as assumptions are made about the implementors that allow properties to be safe. It would not make sense to create your own pages object which implements this trait.
SlicePages
Common trait for pages objects which can be read