Enum rml_rtmp::sessions::ServerSessionErrorKind [−][src]
pub enum ServerSessionErrorKind { ChunkDeserializationError(ChunkDeserializationError), ChunkSerializationError(ChunkSerializationError), MessageSerializationError(MessageSerializationError), MessageDeserializationError(MessageDeserializationError), InvalidOutstandingRequest(u32), NoAppNameForConnectionRequest, InvalidRequestId, ActionAttemptedOnInactiveStream { action: String, stream_id: u32, }, }
Expand description
Represents the type of error that occurred
Variants
ChunkDeserializationError(ChunkDeserializationError)
Encountered when an error occurs while deserializing the incoming byte data
ChunkSerializationError(ChunkSerializationError)
Encountered when an error occurs while serializing outbound messages
MessageSerializationError(MessageSerializationError)
Encountered when an error occurs while turning an RTMP message into an message payload
MessageDeserializationError(MessageDeserializationError)
Encountered when an error occurs while turning a message payload into an RTMP message
InvalidOutstandingRequest(u32)
A request id that was attempting to be accepted or rejected was not a known outstanding request.
A connection request was made without a valid RTMP app name
The request id specified did not match an outstanding request
An action was attempted to be performed on a inactive stream
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ServerSessionErrorKind
impl Send for ServerSessionErrorKind
impl Sync for ServerSessionErrorKind
impl Unpin for ServerSessionErrorKind
impl !UnwindSafe for ServerSessionErrorKind