Enum symbolic::unreal::Unreal4ErrorKind
source · #[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) -> Unreal4Error
fn from(kind: Unreal4ErrorKind) -> Unreal4Error
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
§fn extract_context(self, _original_input: I)
fn extract_context(self, _original_input: I)
Given the context attached to a nom error, and given the original
input to the nom parser, extract more the useful context information. Read more
§impl<T> Indentable for Twhere
T: Display,
impl<T> Indentable for Twhere T: Display,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<I> RecreateContext<I> for I
impl<I> RecreateContext<I> for I
§fn recreate_context(_original_input: I, tail: I) -> I
fn recreate_context(_original_input: I, tail: I) -> I
Given the original input, as well as the context reported by nom,
recreate a context in the original string where the error occurred. Read more