Enum webrtc_srtp::Error
source · [−]#[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.
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)
Trait Implementations
Performs the conversion.
Performs the conversion.