#[non_exhaustive]pub enum BrowserStartError {
Setup(SetupError),
RtcpMuxRequired,
IceFailed,
IceStopped,
DtlsTimeout,
Component(ComponentError),
Worker(String),
Dtls(Error),
Adapter(String),
}Expand description
Why the browser component could not advance from ICE through verified DTLS keying.
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.
Setup(SetupError)
Codec, pacing or mux configuration was invalid before the owner started.
RtcpMuxRequired
The named browser path was started without negotiated RTP/RTCP multiplexing.
IceFailed
ICE concluded component 1 without selecting a pair.
IceStopped
ICE stopped before reporting selection or failure.
DtlsTimeout
The bounded DTLS handshake did not complete.
Component(ComponentError)
The component security gate rejected an internal transition.
Worker(String)
The blocking DTLS worker did not complete normally.
Dtls(Error)
DTLS, fingerprint verification or key derivation failed.
Adapter(String)
The DTLS adapter could not be constructed.
Trait Implementations§
Source§impl Debug for BrowserStartError
impl Debug for BrowserStartError
Source§impl Display for BrowserStartError
impl Display for BrowserStartError
Source§impl Error for BrowserStartError
impl Error for BrowserStartError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ComponentError> for BrowserStartError
impl From<ComponentError> for BrowserStartError
Source§fn from(source: ComponentError) -> Self
fn from(source: ComponentError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for BrowserStartError
impl From<Error> for BrowserStartError
Source§impl From<SetupError> for BrowserStartError
impl From<SetupError> for BrowserStartError
Source§fn from(source: SetupError) -> Self
fn from(source: SetupError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BrowserStartError
impl RefUnwindSafe for BrowserStartError
impl Send for BrowserStartError
impl Sync for BrowserStartError
impl Unpin for BrowserStartError
impl UnsafeUnpin for BrowserStartError
impl UnwindSafe for BrowserStartError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more