#[non_exhaustive]pub enum SignallingEvent {
Acknowledged,
RemoteBye,
InvalidAck,
InvalidDialog,
InvalidCSeq,
Unsupported,
AckTimedOut,
TransportFailed,
}Expand description
One observable transition of an SDP-free confirmed dialog.
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.
Acknowledged
The ACK matched both dialog identity and the INVITE’s sequence number.
RemoteBye
A valid increasing BYE ended the dialog and received 200 OK.
InvalidAck
An ACK named the dialog but did not carry the INVITE’s CSeq and method.
InvalidDialog
A request did not match both tags and the Call-ID. Non-ACK requests receive 481.
InvalidCSeq
A request’s CSeq was malformed, named another method or did not increase. It receives
400 or 500 as appropriate.
Unsupported
A matched request used a method this signalling-only dialog does not implement. It receives
405 with the narrow Allow set.
AckTimedOut
Timer H expired before a valid ACK arrived.
TransportFailed
Sending a required dialog response failed because the endpoint stopped accepting it.
Trait Implementations§
Source§impl Clone for SignallingEvent
impl Clone for SignallingEvent
Source§fn clone(&self) -> SignallingEvent
fn clone(&self) -> SignallingEvent
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 SignallingEvent
impl Debug for SignallingEvent
Source§impl PartialEq for SignallingEvent
impl PartialEq for SignallingEvent
Source§fn eq(&self, other: &SignallingEvent) -> bool
fn eq(&self, other: &SignallingEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SignallingEvent
impl Eq for SignallingEvent
impl StructuralPartialEq for SignallingEvent
Auto Trait Implementations§
impl Freeze for SignallingEvent
impl RefUnwindSafe for SignallingEvent
impl Send for SignallingEvent
impl Sync for SignallingEvent
impl Unpin for SignallingEvent
impl UnsafeUnpin for SignallingEvent
impl UnwindSafe for SignallingEvent
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more