Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use crate::RtpPacket;

/// Errors produced when wrting a packet
#[derive(Debug, PartialEq, Eq, thiserror::Error)]
#[non_exhaustive]
pub enum RtpWriteError {
/// Output buffer is not large enough to fit the resulting buffer. The requested size is
/// returned.
Expand Down
1 change: 1 addition & 0 deletions src/packet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use std::fmt;

/// An error produced when parsing a packet.
#[derive(Debug, thiserror::Error)]
#[non_exhaustive]
pub enum RtpParseError {
/// Version is unsupported. This implementation only supports version 2.
#[error("Unsupported RTP version {}", .0)]
Expand Down
Loading