Enum miri::MiriMemoryKind
source · pub enum MiriMemoryKind {
Rust,
C,
WinHeap,
Machine,
Runtime,
Global,
ExternStatic,
Tls,
}
Expand description
Extra memory kinds
Variants
Rust
__rust_alloc
memory.
C
malloc
memory.
WinHeap
Windows HeapAlloc
memory.
Machine
Memory for args, errno, and other parts of the machine-managed environment. This memory may leak.
Runtime
Memory allocated by the runtime (e.g. env vars). Separate from Machine
because we clean it up and leak-check it.
Global
Globals copied from tcx
.
This memory may leak.
ExternStatic
Memory for extern statics. This memory may leak.
Tls
Memory for thread-local statics. This memory may leak.
Trait Implementations
sourceimpl Clone for MiriMemoryKind
impl Clone for MiriMemoryKind
sourcefn clone(&self) -> MiriMemoryKind
fn clone(&self) -> MiriMemoryKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MiriMemoryKind
impl Debug for MiriMemoryKind
sourceimpl Display for MiriMemoryKind
impl Display for MiriMemoryKind
sourceimpl From<MiriMemoryKind> for MemoryKind<MiriMemoryKind>
impl From<MiriMemoryKind> for MemoryKind<MiriMemoryKind>
sourcefn from(kind: MiriMemoryKind) -> MemoryKind<MiriMemoryKind>
fn from(kind: MiriMemoryKind) -> MemoryKind<MiriMemoryKind>
Converts to this type from the input type.
sourceimpl PartialEq<MiriMemoryKind> for MiriMemoryKind
impl PartialEq<MiriMemoryKind> for MiriMemoryKind
sourcefn eq(&self, other: &MiriMemoryKind) -> bool
fn eq(&self, other: &MiriMemoryKind) -> bool
impl Copy for MiriMemoryKind
impl Eq for MiriMemoryKind
impl StructuralEq for MiriMemoryKind
impl StructuralPartialEq for MiriMemoryKind
Auto Trait Implementations
impl RefUnwindSafe for MiriMemoryKind
impl Send for MiriMemoryKind
impl Sync for MiriMemoryKind
impl Unpin for MiriMemoryKind
impl UnwindSafe for MiriMemoryKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
fn vzip(self) -> V
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Rust
: 0 bytesC
: 0 bytesWinHeap
: 0 bytesMachine
: 0 bytesRuntime
: 0 bytesGlobal
: 0 bytesExternStatic
: 0 bytesTls
: 0 bytes