pub enum PerfChannelMessage {
    Dropped(u64),
    Event {
        map_name: String,
        cpuid: i32,
        data: Vec<u8>,
    },
}
Expand description

Message format for messages sent back across the channel

Messages could either be dropped in case of messages lost, usually caused by a a filled up perf buffer, or an event with source and data

Variants

Dropped(u64)

A count of how many messages were lost

Event

Fields

map_name: String

The name of the map this message is from.

cpuid: i32

The cpuid of the CPU this message is from.

data: Vec<u8>

The data in the message.

A received message with information about its source

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.