[−][src]Struct redox_buffer_pool::MmapEntry
The entry type from the MmapEntries
iterator, that contains all the information that the
buffer pool had about that mmap, when it's being destroyed.
Only handles that were actually initialized here, are listed. A reserved range that was still pending when this iterator was created, that had its expansion handle dropped, will not be included in the iterator.
Fields
pool_offset: I
The internally allocated offset within the buffer pool, where the mmap was put.
size: I
The size that the mmap allocation had. This is exactly the same as the size inputted as
part of BufferPool::begin_expand
.
pointer: NonNull<u8>
The pointer that was given as part of ExpansionHandle::initialize
.
This pointer is guaranteed to be a valid allocation of size size
, so long as the
allocation given to the pool as part of ExpansionHandle::initialize
was valid (which
would immediately be undefined behavior in the first case).
extra: E
The extra field that was also supplied to ExpansionHandle::initialize
.
Trait Implementations
Auto Trait Implementations
impl<I, E> RefUnwindSafe for MmapEntry<I, E> where
E: RefUnwindSafe,
I: RefUnwindSafe,
E: RefUnwindSafe,
I: RefUnwindSafe,
impl<I, E> !Send for MmapEntry<I, E>
impl<I, E> !Sync for MmapEntry<I, E>
impl<I, E> Unpin for MmapEntry<I, E> where
E: Unpin,
I: Unpin,
E: Unpin,
I: Unpin,
impl<I, E> UnwindSafe for MmapEntry<I, E> where
E: UnwindSafe,
I: UnwindSafe,
E: UnwindSafe,
I: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,