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: StringSsrcMissingFromSrtp(u32)Tuple Fields of SsrcMissingFromSrtp
0: u32SsrcMissingFromSrtcp(u32)Tuple Fields of SsrcMissingFromSrtcp
0: u32StreamWithSsrcExists(u32)Tuple Fields of StreamWithSsrcExists
0: u32KeyingMaterial(KeyingMaterialExporterError)Tuple Fields of KeyingMaterial
MpscSend(String)Tuple Fields of MpscSend
0: StringUtil(Error)Tuple Fields of Util
0: ErrorRtcp(Error)Tuple Fields of Rtcp
0: ErrorAesGcm(Error)Tuple Fields of AesGcm
0: ErrorOther(String)Tuple Fields of Other
0: StringTrait Implementations
Performs the conversion.
Performs the conversion.