Enum webrtc_srtp::Error [−][src]
#[non_exhaustive]
pub enum Error {
Show 41 variants
ErrDuplicated,
ErrShortSrtpMasterKey,
ErrShortSrtpMasterSalt,
ErrNoSuchSrtpProfile,
ErrNonZeroKdrNotSupported,
ErrExporterWrongLabel,
ErrNoConfig,
ErrNoConn,
ErrFailedToVerifyAuthTag,
ErrTooShortRtcp,
ErrPayloadDiffers,
ErrStartedChannelUsedIncorrectly,
ErrStreamNotInited,
ErrStreamAlreadyClosed,
ErrStreamAlreadyInited,
ErrFailedTypeAssertion,
UnsupportedIndexOverKdr,
SrtpMasterKeyLength(usize, usize),
SrtpSaltLength(usize, usize),
ExtMapParse(String),
SsrcMissingFromSrtp(u32),
SrtpSsrcDuplicated(u32, u16),
SrtcpSsrcDuplicated(u32, usize),
SsrcMissingFromSrtcp(u32),
StreamWithSsrcExists(u32),
SessionRtpRtcpTypeMismatch,
SessionEof,
SrtpTooSmall(usize, usize),
SrtcpTooSmall(usize, usize),
RtpFailedToVerifyAuthTag,
RtcpFailedToVerifyAuthTag,
SessionSrtpAlreadyClosed,
InvalidRtpStream,
InvalidRtcpStream,
Io(IoError),
KeyingMaterial(KeyingMaterialExporterError),
MpscSend(String),
Util(Error),
Rtcp(Error),
AesGcm(Error),
Other(String),
}
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.
ExtMapParse(String)
Tuple Fields of ExtMapParse
0: String
SsrcMissingFromSrtp(u32)
Tuple Fields of SsrcMissingFromSrtp
0: u32
SsrcMissingFromSrtcp(u32)
Tuple Fields of SsrcMissingFromSrtcp
0: u32
StreamWithSsrcExists(u32)
Tuple Fields of StreamWithSsrcExists
0: u32
KeyingMaterial(KeyingMaterialExporterError)
Tuple Fields of KeyingMaterial
MpscSend(String)
Tuple Fields of MpscSend
0: String
Util(Error)
Tuple Fields of Util
0: Error
Rtcp(Error)
Tuple Fields of Rtcp
0: Error
AesGcm(Error)
Tuple Fields of AesGcm
0: Error
Other(String)
Tuple Fields of Other
0: String
Trait Implementations
Performs the conversion.
Performs the conversion.