Enum drone::heap::trace::Packet[][src]

pub enum Packet {
    Alloc {
        size: u32,
    },
    Dealloc {
        size: u32,
    },
    Grow {
        old_size: u32,
        new_size: u32,
    },
    Shrink {
        old_size: u32,
        new_size: u32,
    },
}

Heap trace file packet.

Variants

Alloc

Allocate a block of memory.

Fields of Alloc

size: u32

Block size.

Dealloc

Deallocate a block of memory.

Fields of Dealloc

size: u32

Block size.

Grow

Extend a memory block.

Fields of Grow

old_size: u32

Old block size.

new_size: u32

New block size.

Shrink

Shrink a memory block.

Fields of Shrink

old_size: u32

Old block size.

new_size: u32

New block size.

Auto Trait Implementations

impl RefUnwindSafe for Packet

impl Send for Packet

impl Sync for Packet

impl Unpin for Packet

impl UnwindSafe for Packet

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,