[−][src]Struct symbolic_unreal::Unreal4Crash
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<'_>ⓘNotable traits for Unreal4FileIterator<'_>
impl<'_> Iterator for Unreal4FileIterator<'_> type Item = Unreal4File;
[src]
Notable traits for Unreal4FileIterator<'_>
impl<'_> Iterator for Unreal4FileIterator<'_> type Item = Unreal4File;
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
Auto Trait Implementations
impl RefUnwindSafe for Unreal4Crash
impl Send for Unreal4Crash
impl Sync for Unreal4Crash
impl Unpin for Unreal4Crash
impl UnwindSafe for Unreal4Crash
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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.
pub 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>,