#[non_exhaustive]pub enum LoopbackVariable {
Show 14 variants
IsLoopback,
LoopbackLeg,
LoopbackFromUuid,
OtherLoopbackFromUuid,
OtherLoopbackLegUuid,
OtherLegTrueId,
LoopbackApp,
LoopbackAppArg,
LoopbackHangupCause,
LoopbackBowoutOtherUuid,
LoopbackBowout,
LoopbackBowoutOnExecute,
LoopbackExport,
LoopbackInitialCodec,
}Expand description
mod_loopback channel variable names (the part after the variable_ prefix).
Use with HeaderLookup::variable() for
type-safe lookups.
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.
IsLoopback
LoopbackLeg
LoopbackFromUuid
OtherLoopbackFromUuid
OtherLoopbackLegUuid
OtherLegTrueId
Set on the real channel bridged to a loopback leg, not on the leg.
LoopbackApp
Application named by the loopback/app=<application>[:<args>]
destination form, which runs instead of a dialplan lookup.
LoopbackAppArg
LoopbackHangupCause
Presence marks a bowout. See LoopbackResignation.
LoopbackBowoutOtherUuid
The real channel that outlives the bowout.
LoopbackBowout
Vetoes the bowout when false. Unset means enabled.
LoopbackBowoutOnExecute
Bows out as soon as the leg executes an application, instead of waiting for audio to flow.
LoopbackExport
Space-separated variable names to copy onto the B leg.
LoopbackInitialCodec
Implementations§
Trait Implementations§
Source§impl AsRef<str> for LoopbackVariable
impl AsRef<str> for LoopbackVariable
Source§impl Clone for LoopbackVariable
impl Clone for LoopbackVariable
Source§fn clone(&self) -> LoopbackVariable
fn clone(&self) -> LoopbackVariable
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 LoopbackVariable
Source§impl Debug for LoopbackVariable
impl Debug for LoopbackVariable
Source§impl<'de> Deserialize<'de> for LoopbackVariable
impl<'de> Deserialize<'de> for LoopbackVariable
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 LoopbackVariable
impl Display for LoopbackVariable
impl Eq for LoopbackVariable
Source§impl FromStr for LoopbackVariable
impl FromStr for LoopbackVariable
Source§impl Hash for LoopbackVariable
impl Hash for LoopbackVariable
Source§impl PartialEq for LoopbackVariable
impl PartialEq for LoopbackVariable
Source§impl Serialize for LoopbackVariable
impl Serialize for LoopbackVariable
impl StructuralPartialEq for LoopbackVariable
Source§impl VariableName for LoopbackVariable
impl VariableName for LoopbackVariable
Auto Trait Implementations§
impl Freeze for LoopbackVariable
impl RefUnwindSafe for LoopbackVariable
impl Send for LoopbackVariable
impl Sync for LoopbackVariable
impl Unpin for LoopbackVariable
impl UnsafeUnpin for LoopbackVariable
impl UnwindSafe for LoopbackVariable
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.