pub struct ThreadCreateVmars {
pub machine_stack: GrowableVmars,
pub security_stack: GrowableVmars,
pub thread_block: GrowableVmars,
}Expand description
Holds VMARs suitable for creating new threads.
Provides three different VMAR allocators, one for each of the allocations performed on thread
creation. See thrd_zx_create_handles_t in zircon/threads.h for details.
Fields§
§machine_stack: GrowableVmarsVMARs for the machine stack.
security_stack: GrowableVmarsVMARs for the security stack (unsafe stack on x86, shadow call stack on others).
thread_block: GrowableVmarsVMARs for the thread control block and thread-local storage.
Implementations§
Source§impl ThreadCreateVmars
impl ThreadCreateVmars
Sourcepub fn new() -> ThreadCreateVmars
pub fn new() -> ThreadCreateVmars
Creates a new ThreadCreateVmars with empty VMAR lists.
Trait Implementations§
Source§impl Debug for ThreadCreateVmars
impl Debug for ThreadCreateVmars
Source§impl Default for ThreadCreateVmars
impl Default for ThreadCreateVmars
Source§fn default() -> ThreadCreateVmars
fn default() -> ThreadCreateVmars
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ThreadCreateVmars
impl RefUnwindSafe for ThreadCreateVmars
impl Send for ThreadCreateVmars
impl Sync for ThreadCreateVmars
impl Unpin for ThreadCreateVmars
impl UnsafeUnpin for ThreadCreateVmars
impl UnwindSafe for ThreadCreateVmars
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more