#[non_exhaustive]pub enum DestinationEncoding {
Encoded,
Suppressed,
}Expand description
Whether protect_dest_uri rewrites a sofia destination before mod_sofia reads it, which
moves where the dialed user ends.
Suppressed when sofia_suppress_url_encoding is true for the leg: set in the dial
string’s <>, {} or [] block, or exported by the originating channel. A variable
only set on the originating channel, or a global, never reaches the leg. Otherwise
Encoded, the switch’s default. The dial string cannot settle it alone, so the caller
names it.
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.
Trait Implementations§
Source§impl Clone for DestinationEncoding
impl Clone for DestinationEncoding
impl Copy for DestinationEncoding
Source§impl Debug for DestinationEncoding
impl Debug for DestinationEncoding
impl Eq for DestinationEncoding
Source§impl PartialEq for DestinationEncoding
impl PartialEq for DestinationEncoding
impl StructuralPartialEq for DestinationEncoding
Auto Trait Implementations§
impl Freeze for DestinationEncoding
impl RefUnwindSafe for DestinationEncoding
impl Send for DestinationEncoding
impl Sync for DestinationEncoding
impl Unpin for DestinationEncoding
impl UnsafeUnpin for DestinationEncoding
impl UnwindSafe for DestinationEncoding
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,
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.