pub enum SfuCoreError {
Transport(TransportAdapterError),
CapabilityProjection(TransportAdapterError),
SessionNegotiationRejected,
SessionRefreshRejected,
SubscriptionUpdateRejected,
}Variants§
Transport(TransportAdapterError)
media transport command failed
CapabilityProjection(TransportAdapterError)
accepted answer did not yield client capabilities needed by room state
SessionNegotiationRejected
initial answer was valid transport input but stale for room state
SessionRefreshRejected
refresh answer was valid transport input but stale for room state
SubscriptionUpdateRejected
subscription intent targeted a stale or invalid room connection
Implementations§
Source§impl SfuCoreError
impl SfuCoreError
Sourcepub const fn is_client_error(self) -> bool
pub const fn is_client_error(self) -> bool
whether this error should close the client as a protocol fault
Trait Implementations§
Source§impl Clone for SfuCoreError
impl Clone for SfuCoreError
Source§fn clone(&self) -> SfuCoreError
fn clone(&self) -> SfuCoreError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SfuCoreError
impl Debug for SfuCoreError
Source§impl Display for SfuCoreError
impl Display for SfuCoreError
Source§impl Error for SfuCoreError
impl Error for SfuCoreError
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<SfuCoreError> for SessionError
impl From<SfuCoreError> for SessionError
Source§fn from(source: SfuCoreError) -> Self
fn from(source: SfuCoreError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SfuCoreError
impl PartialEq for SfuCoreError
impl Copy for SfuCoreError
impl Eq for SfuCoreError
impl StructuralPartialEq for SfuCoreError
Auto Trait Implementations§
impl Freeze for SfuCoreError
impl RefUnwindSafe for SfuCoreError
impl Send for SfuCoreError
impl Sync for SfuCoreError
impl Unpin for SfuCoreError
impl UnsafeUnpin for SfuCoreError
impl UnwindSafe for SfuCoreError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§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