pub enum DispatchOutcome {
Handled,
NoDialog,
Unsupported,
}Expand description
Outcome of SipEndpoint::dispatch_in_dialog.
Variants§
Handled
A dialog matched and ran its handler. Subsequent state
transitions (e.g. Terminated on a BYE) will appear on the
dialog’s DialogStateReceiver.
NoDialog
No dialog matched the transaction’s Call-ID + tag pair. The
helper replied 481 Call/Transaction Does Not Exist.
Unsupported
A dialog matched, but its kind isn’t an INVITE dialog (e.g.
subscriptions). The helper replied 501 Not Implemented.
Trait Implementations§
Source§impl Clone for DispatchOutcome
impl Clone for DispatchOutcome
Source§fn clone(&self) -> DispatchOutcome
fn clone(&self) -> DispatchOutcome
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 moreSource§impl Debug for DispatchOutcome
impl Debug for DispatchOutcome
Source§impl PartialEq for DispatchOutcome
impl PartialEq for DispatchOutcome
Source§fn eq(&self, other: &DispatchOutcome) -> bool
fn eq(&self, other: &DispatchOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DispatchOutcome
impl Eq for DispatchOutcome
impl StructuralPartialEq for DispatchOutcome
Auto Trait Implementations§
impl Freeze for DispatchOutcome
impl RefUnwindSafe for DispatchOutcome
impl Send for DispatchOutcome
impl Sync for DispatchOutcome
impl Unpin for DispatchOutcome
impl UnsafeUnpin for DispatchOutcome
impl UnwindSafe for DispatchOutcome
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.