#[non_exhaustive]pub enum LoopbackLeg {
A,
B,
}Expand description
Which half of a loopback pair, from the loopback_leg variable.
The A leg is the one an originate returns; the B leg is routed into the
dialplan. Each carries the partner’s UUID in other_loopback_leg_uuid.
The wire form is the variable’s uppercase spelling. The lowercase suffix
a channel name carries is LoopbackChannelName’s business.
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.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for LoopbackLeg
impl AsRef<str> for LoopbackLeg
Source§impl Clone for LoopbackLeg
impl Clone for LoopbackLeg
Source§fn clone(&self) -> LoopbackLeg
fn clone(&self) -> LoopbackLeg
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 LoopbackLeg
Source§impl Debug for LoopbackLeg
impl Debug for LoopbackLeg
Source§impl<'de> Deserialize<'de> for LoopbackLeg
impl<'de> Deserialize<'de> for LoopbackLeg
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 LoopbackLeg
impl Display for LoopbackLeg
impl Eq for LoopbackLeg
Source§impl FromStr for LoopbackLeg
impl FromStr for LoopbackLeg
Source§impl Hash for LoopbackLeg
impl Hash for LoopbackLeg
Source§impl PartialEq for LoopbackLeg
impl PartialEq for LoopbackLeg
Source§impl Serialize for LoopbackLeg
impl Serialize for LoopbackLeg
impl StructuralPartialEq for LoopbackLeg
Auto Trait Implementations§
impl Freeze for LoopbackLeg
impl RefUnwindSafe for LoopbackLeg
impl Send for LoopbackLeg
impl Sync for LoopbackLeg
impl Unpin for LoopbackLeg
impl UnsafeUnpin for LoopbackLeg
impl UnwindSafe for LoopbackLeg
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.