Struct probe_c_api::CompileRunOutput [] [src]

pub struct CompileRunOutput {
    pub compile_output: Output,
    pub run_output: Option<Output>,
}

Outputs of both compilation and running.

Fields

Output of the compilation phase.

Output of the run phase. It is optional because if the compilation failed, we won't try to run at all.

Methods

impl CompileRunOutput
[src]

Returns a probe program's standard output as a UTF-8 string.

This function does not panic. If the compilation or run failed, this is reported in the error. If the program's output is not valid UTF-8, lossy conversion is performed.

Trait Implementations

impl Debug for CompileRunOutput
[src]

Formats the value using the given formatter.