pub enum SessionTimerOutcome {
Cancelled,
Expired,
RefreshFailed,
DialogGone,
}Expand description
How session_timer_loop ended.
Variants§
Cancelled
The CancellationToken fired — the call ended through the
normal path (local/remote BYE) and the loop just stood down.
Expired
We were the watchdog and no refresh arrived before the session interval lapsed. A BYE was sent (best effort).
RefreshFailed
We were the refresher and a refresh re-INVITE failed (non-2xx or transport error). A BYE was sent (best effort).
DialogGone
The dialog was no longer confirmed when we tried to refresh — it already terminated through another path. No BYE needed.
Trait Implementations§
Source§impl Clone for SessionTimerOutcome
impl Clone for SessionTimerOutcome
Source§fn clone(&self) -> SessionTimerOutcome
fn clone(&self) -> SessionTimerOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SessionTimerOutcome
Source§impl Debug for SessionTimerOutcome
impl Debug for SessionTimerOutcome
impl Eq for SessionTimerOutcome
Source§impl PartialEq for SessionTimerOutcome
impl PartialEq for SessionTimerOutcome
Source§fn eq(&self, other: &SessionTimerOutcome) -> bool
fn eq(&self, other: &SessionTimerOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SessionTimerOutcome
Auto Trait Implementations§
impl Freeze for SessionTimerOutcome
impl RefUnwindSafe for SessionTimerOutcome
impl Send for SessionTimerOutcome
impl Sync for SessionTimerOutcome
impl Unpin for SessionTimerOutcome
impl UnsafeUnpin for SessionTimerOutcome
impl UnwindSafe for SessionTimerOutcome
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.