Enum tf_demo_parser::ParseError [−][src]
pub enum ParseError {}Show variants
ReadError(BitError), MalformedUTF8(Utf8Error), UnexpectedCompressionType(String), SnapError(Error), UnexpectedDecompressedSize { expected: u32, size: u32, }, InvalidDemo(&'static str), InvalidPacketType(u8), InvalidMessageType(u8), InvalidSendPropType(u8), InvalidSendProp(MalformedSendPropDefinitionError), DataRemaining(usize), StringTableNotFound(u8), MalformedGameEvent(GameEventError), InvalidGameEvent { expected_type: GameEventValueType, name: &'static str, found_type: GameEventValueType, }, UnknownServerClass(ClassId), UnknownSendTable(SendTableName), PropIndexOutOfBounds { index: i32, prop_count: usize, }, UnknownEntity(EntityId),
Expand description
Errors that can occur during parsing
Variants
ReadError(BitError)
MalformedUTF8(Utf8Error)
UnexpectedCompressionType(String)
SnapError(Error)
Show fields
InvalidDemo(&'static str)
InvalidPacketType(u8)
InvalidMessageType(u8)
InvalidSendPropType(u8)
InvalidSendProp(MalformedSendPropDefinitionError)
DataRemaining(usize)
StringTableNotFound(u8)
MalformedGameEvent(GameEventError)
Show fields
Fields of InvalidGameEvent
UnknownServerClass(ClassId)
UnknownSendTable(SendTableName)
UnknownEntity(EntityId)
Trait Implementations
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ParseError
impl !Send for ParseError
impl !Sync for ParseError
impl Unpin for ParseError
impl UnwindSafe for ParseError