MinidumpStream

Trait MinidumpStream 

Source
pub trait MinidumpStream<'a> {
    type Output;

    // Required method
    fn parse(cursor: &mut Cursor<&'a [u8]>) -> Result<Self::Output>;
}
Expand description

Trait to represent the parsing of generic streams in a minidump file.

Required Associated Types§

Source

type Output

Defines the type of output expected from the parser.

Required Methods§

Source

fn parse(cursor: &mut Cursor<&'a [u8]>) -> Result<Self::Output>

Processes the stream and returns the corresponding output type.

§Arguments
  • cursor - A mutable reference to a cursor pointing to the stream’s binary data.
§Returns

The parsed output of the stream.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§