Enum miri::machine::MiriMemoryKind
source · pub enum MiriMemoryKind {
Rust,
Miri,
C,
WinHeap,
Machine,
Runtime,
Global,
ExternStatic,
Tls,
}
Expand description
Extra memory kinds
Variants§
Rust
__rust_alloc
memory.
Miri
miri_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§
source§impl Clone for MiriMemoryKind
impl Clone for MiriMemoryKind
source§fn clone(&self) -> MiriMemoryKind
fn clone(&self) -> MiriMemoryKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MiriMemoryKind
impl Debug for MiriMemoryKind
source§impl Display for MiriMemoryKind
impl Display for MiriMemoryKind
source§impl From<MiriMemoryKind> for MemoryKind<MiriMemoryKind>
impl From<MiriMemoryKind> for MemoryKind<MiriMemoryKind>
source§fn from(kind: MiriMemoryKind) -> MemoryKind<MiriMemoryKind>
fn from(kind: MiriMemoryKind) -> MemoryKind<MiriMemoryKind>
Converts to this type from the input type.
source§impl PartialEq<MiriMemoryKind> for MiriMemoryKind
impl PartialEq<MiriMemoryKind> for MiriMemoryKind
source§fn 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§
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 bytesMiri
: 0 bytesC
: 0 bytesWinHeap
: 0 bytesMachine
: 0 bytesRuntime
: 0 bytesGlobal
: 0 bytesExternStatic
: 0 bytesTls
: 0 bytes