#[non_exhaustive]pub enum ProfileError {
Show 16 variants
OpusUnavailable,
InsecureSignalling,
MediaSectionCount,
WrongProtocol,
RtcpMuxRequired,
IceRequired,
SetupRole,
FingerprintRequired,
CodecSetIncomplete,
WeakerMedia,
ProfileRemoved,
NoNominatedPair,
DtlsTimeout,
FingerprintMismatch,
NoSrtpProfile,
Cancelled,
}Expand description
A fail-closed profile boundary.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Required Opus capability is unavailable.
InsecureSignalling
Signalling is not authenticated SIP over WSS.
MediaSectionCount
The description does not contain exactly one active audio section.
WrongProtocol
An initial offer names an unsupported protocol.
RtcpMuxRequired
Multiplexed RTCP or its single component is absent.
IceRequired
ICE credentials or candidates are absent or unusable.
SetupRole
DTLS setup is absent, unresolved, or locally unavailable.
FingerprintRequired
No usable SHA-256 fingerprint is present.
CodecSetIncomplete
The mandatory codec vocabulary is absent or ambiguous.
WeakerMedia
A description attempts a weaker media mode.
ProfileRemoved
A subsequent description removed a mandatory profile fact.
NoNominatedPair
ICE ended before nomination.
DtlsTimeout
The DTLS handshake expired.
FingerprintMismatch
The media certificate differs from signalling.
NoSrtpProfile
DTLS selected no supported SRTP profile.
Cancelled
Cancellation won and cleanup completed.
Trait Implementations§
Source§impl Clone for ProfileError
impl Clone for ProfileError
Source§fn clone(&self) -> ProfileError
fn clone(&self) -> ProfileError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ProfileError
impl Debug for ProfileError
Source§impl Display for ProfileError
impl Display for ProfileError
Source§impl Error for ProfileError
impl Error for ProfileError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl PartialEq for ProfileError
impl PartialEq for ProfileError
Source§fn eq(&self, other: &ProfileError) -> bool
fn eq(&self, other: &ProfileError) -> bool
self and other values to be equal, and is used by ==.