Enum rml_rtmp::messages::MessageDeserializationErrorKind [−][src]
pub enum MessageDeserializationErrorKind { InvalidMessageFormat, Amf0DeserializationError(Amf0DeserializationError), Io(Error), }
Expand description
Enumeration that represents the various errors that may occur while trying to deserialize a RTMP message
Variants
The bytes or amf0 values contained in the message were not what were expected, and thus the message could not be parsed.
Amf0DeserializationError(Amf0DeserializationError)
The bytes in the message that were expected to be AMF0 values were not properly encoded, and thus could not be read
Io(Error)
Failed to read the values from the input buffer
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for MessageDeserializationErrorKind
impl Send for MessageDeserializationErrorKind
impl Sync for MessageDeserializationErrorKind
impl Unpin for MessageDeserializationErrorKind
impl !UnwindSafe for MessageDeserializationErrorKind