#[non_exhaustive]pub enum LoopbackHangupCause {
Bowout,
Bridge,
}Expand description
Which mod_loopback path resigned, from the loopback_hangup_cause value.
Both variants mean the same thing to a consumer: the loopback leg is
gone and the call continues elsewhere. Branch on this only to log or
to tell the two triggers apart – never to decide whether a bowout
happened. That is LoopbackResignation’s job.
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.
Bowout
Execute-time masquerade, triggered by loopback_bowout_on_execute
or by an application flagged SAF_NO_LOOPBACK.
Bridge
Frame-count path: both legs bridged and answered, so mod_loopback
uuid_bridges the two real channels together.
Implementations§
Trait Implementations§
Source§impl Clone for LoopbackHangupCause
impl Clone for LoopbackHangupCause
Source§fn clone(&self) -> LoopbackHangupCause
fn clone(&self) -> LoopbackHangupCause
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 LoopbackHangupCause
Source§impl Debug for LoopbackHangupCause
impl Debug for LoopbackHangupCause
Source§impl<'de> Deserialize<'de> for LoopbackHangupCause
impl<'de> Deserialize<'de> for LoopbackHangupCause
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for LoopbackHangupCause
impl Display for LoopbackHangupCause
impl Eq for LoopbackHangupCause
Source§impl FromStr for LoopbackHangupCause
impl FromStr for LoopbackHangupCause
Source§impl Hash for LoopbackHangupCause
impl Hash for LoopbackHangupCause
Source§impl PartialEq for LoopbackHangupCause
impl PartialEq for LoopbackHangupCause
Source§impl Serialize for LoopbackHangupCause
impl Serialize for LoopbackHangupCause
impl StructuralPartialEq for LoopbackHangupCause
Auto Trait Implementations§
impl Freeze for LoopbackHangupCause
impl RefUnwindSafe for LoopbackHangupCause
impl Send for LoopbackHangupCause
impl Sync for LoopbackHangupCause
impl Unpin for LoopbackHangupCause
impl UnsafeUnpin for LoopbackHangupCause
impl UnwindSafe for LoopbackHangupCause
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.