#[non_exhaustive]pub enum DialStringCarrier {
EslApi,
Dialplan,
}Expand description
Which command carries a dial string, and therefore how deeply its variable values must be escaped.
FreeSWITCH escape-processes a bracket block a different number of times depending on the command it arrived on, and the correct escaping of a value containing a single quote differs between them with no form that satisfies both. Naming the carrier is the only way a renderer can be right.
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.
EslApi
api originate / bgapi originate, whose argument list is split before
the block itself is parsed. The default for Display.
Dialplan
A dialplan application such as bridge, including via sendmsg execute,
which receives its argument whole.
Trait Implementations§
Source§impl Clone for DialStringCarrier
impl Clone for DialStringCarrier
Source§fn clone(&self) -> DialStringCarrier
fn clone(&self) -> DialStringCarrier
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 DialStringCarrier
Source§impl Debug for DialStringCarrier
impl Debug for DialStringCarrier
Source§impl<'de> Deserialize<'de> for DialStringCarrier
impl<'de> Deserialize<'de> for DialStringCarrier
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
impl Eq for DialStringCarrier
Source§impl PartialEq for DialStringCarrier
impl PartialEq for DialStringCarrier
Source§impl Serialize for DialStringCarrier
impl Serialize for DialStringCarrier
impl StructuralPartialEq for DialStringCarrier
Auto Trait Implementations§
impl Freeze for DialStringCarrier
impl RefUnwindSafe for DialStringCarrier
impl Send for DialStringCarrier
impl Sync for DialStringCarrier
impl Unpin for DialStringCarrier
impl UnsafeUnpin for DialStringCarrier
impl UnwindSafe for DialStringCarrier
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.