#[non_exhaustive]pub enum Unreal4ErrorKind {
Empty,
BadCompression,
BadData,
TrailingData,
TooLarge,
InvalidLogEntry,
InvalidXml,
}
Expand description
The error type for Unreal4Error
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Empty
Empty data blob received.
BadCompression
Invalid compressed data.
BadData
Invalid contents of the crash file container.
TrailingData
The crash file contains unexpected trailing data after the footer.
TooLarge
The crash file contents are too large during decompression.
InvalidLogEntry
Can’t process a log entry.
InvalidXml
Invalid XML.
Trait Implementations§
source§impl Clone for Unreal4ErrorKind
impl Clone for Unreal4ErrorKind
source§fn clone(&self) -> Unreal4ErrorKind
fn clone(&self) -> Unreal4ErrorKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Unreal4ErrorKind
impl Debug for Unreal4ErrorKind
source§impl Display for Unreal4ErrorKind
impl Display for Unreal4ErrorKind
source§impl From<Unreal4ErrorKind> for Unreal4Error
impl From<Unreal4ErrorKind> for Unreal4Error
source§fn from(kind: Unreal4ErrorKind) -> Self
fn from(kind: Unreal4ErrorKind) -> Self
Converts to this type from the input type.
source§impl PartialEq for Unreal4ErrorKind
impl PartialEq for Unreal4ErrorKind
source§fn eq(&self, other: &Unreal4ErrorKind) -> bool
fn eq(&self, other: &Unreal4ErrorKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Unreal4ErrorKind
impl Eq for Unreal4ErrorKind
impl StructuralEq for Unreal4ErrorKind
impl StructuralPartialEq for Unreal4ErrorKind
Auto Trait Implementations§
impl RefUnwindSafe for Unreal4ErrorKind
impl Send for Unreal4ErrorKind
impl Sync for Unreal4ErrorKind
impl Unpin for Unreal4ErrorKind
impl UnwindSafe for Unreal4ErrorKind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more