[][src]Struct symbolic_unreal::Unreal4Crash

pub struct Unreal4Crash { /* fields omitted */ }

Unreal Engine 4 crash file.

Methods

impl Unreal4Crash[src]

pub fn from_slice(bytes: &[u8]) -> Result<Unreal4Crash, Unreal4Error>[src]

Creates an instance of Unreal4Crash from the original, compressed bytes.

pub fn files(&self) -> impl Iterator<Item = &Unreal4CrashFile>[src]

Files within the UE4 crash dump.

pub fn file_count(&self) -> usize[src]

Count of files within the UE4 crash dump.

pub fn file_by_index(&self, index: usize) -> Option<&Unreal4CrashFile>[src]

Get a Unreal4CrashFile by its index.

pub fn file_contents_by_index(
    &self,
    index: usize
) -> Result<Option<&[u8]>, Unreal4Error>
[src]

Get the contents of a file by its index.

pub fn get_native_crash(&self) -> Result<Option<NativeCrash>, Unreal4Error>[src]

Returns the native crash report contained.

pub fn get_minidump_slice(&self) -> Result<Option<&[u8]>, Unreal4Error>[src]

Get the Minidump file bytes.

pub fn get_apple_crash_report(&self) -> Result<Option<&str>, Unreal4Error>[src]

Gets the native apple crash report as str.

pub fn get_file_slice(
    &self,
    file_type: Unreal4FileType
) -> Result<Option<&[u8]>, Unreal4Error>
[src]

Get the file contents by its file type.

pub fn get_file_contents(
    &self,
    file_meta: &Unreal4CrashFile
) -> Result<&[u8], Unreal4Error>
[src]

Get file content.

pub fn get_context(&self) -> Result<Option<Unreal4Context>, Unreal4Error>[src]

Get the Unreal4Context of this crash. This is achieved by reading the context (xml) file If the file doesn't exist in the crash, None is returned.

pub fn get_logs(
    &self,
    limit: usize
) -> Result<Vec<Unreal4LogEntry>, Unreal4Error>
[src]

Get up to limit log entries of this crash.

Trait Implementations

impl Debug for Unreal4Crash[src]

Auto Trait Implementations

Blanket Implementations

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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