[][src]Struct symbolic_unreal::Unreal4Crash

pub struct Unreal4Crash { /* fields omitted */ }

Unreal Engine 4 crash file.

Implementations

impl Unreal4Crash[src]

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

Parses a UE4 crash dump from the original, compressed data.

pub fn name(&self) -> &str[src]

Returns the file name of this UE4 crash.

pub fn directory_name(&self) -> &str[src]

Returns the directory path of this UE4 crash.

pub fn files(&self) -> Unreal4FileIterator[src]

Returns an iterator over all files within this 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<Unreal4File>[src]

Returns the file at the given index.

pub fn file_by_type(&self, ty: Unreal4FileType) -> Option<Unreal4File>[src]

Returns a file by its type.

If there are multiple files matching the given type, the first match is returned.

pub fn native_crash(&self) -> Option<Unreal4File>[src]

Returns the native crash report contained.

pub fn 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 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> 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.