[−][src]Struct symbolic_unreal::Unreal4Crash
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]
&self,
index: usize
) -> Result<Option<&[u8]>, Unreal4Error>
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]
&self,
file_type: Unreal4FileType
) -> Result<Option<&[u8]>, Unreal4Error>
Get the file contents by its file type.
pub fn get_file_contents(
&self,
file_meta: &Unreal4CrashFile
) -> Result<&[u8], Unreal4Error>
[src]
&self,
file_meta: &Unreal4CrashFile
) -> Result<&[u8], Unreal4Error>
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]
&self,
limit: usize
) -> Result<Vec<Unreal4LogEntry>, Unreal4Error>
Get up to limit
log entries of this crash.
Trait Implementations
Auto Trait Implementations
impl Unpin for Unreal4Crash
impl Send for Unreal4Crash
impl Sync for Unreal4Crash
impl RefUnwindSafe for Unreal4Crash
impl UnwindSafe for Unreal4Crash
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,