pub enum VoiceCallEndReason {
HangupLocal,
HangupRemote,
RejectedLocal,
RejectedRemote,
Missed,
CancelledLocal,
ConnectionLost,
Failed,
}Expand description
Finer-grained terminal reason — kept distinct from
VoiceCallDisposition because the disposition collapses
hangup_local and hangup_remote to Answered, losing the
“who hung up?” answer the row otherwise carries.
Wire-stable snake_case strings; the daemon’s matching enum is the canonical source.
Variants§
HangupLocal
HangupRemote
RejectedLocal
RejectedRemote
Missed
CancelledLocal
ConnectionLost
An established call torn down because its connection died —
the daemon’s RFC 4028 session keepalive stopped getting
answers (peer crashed, NAT binding dropped). Distinct from
HangupLocal: the user didn’t end this call. Rows with this
reason still carry VoiceCallDisposition::Answered.
Failed
Trait Implementations§
Source§impl Clone for VoiceCallEndReason
impl Clone for VoiceCallEndReason
Source§fn clone(&self) -> VoiceCallEndReason
fn clone(&self) -> VoiceCallEndReason
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 VoiceCallEndReason
Source§impl Debug for VoiceCallEndReason
impl Debug for VoiceCallEndReason
Source§impl<'de> Deserialize<'de> for VoiceCallEndReason
impl<'de> Deserialize<'de> for VoiceCallEndReason
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 VoiceCallEndReason
Source§impl PartialEq for VoiceCallEndReason
impl PartialEq for VoiceCallEndReason
Source§fn eq(&self, other: &VoiceCallEndReason) -> bool
fn eq(&self, other: &VoiceCallEndReason) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VoiceCallEndReason
impl Serialize for VoiceCallEndReason
impl StructuralPartialEq for VoiceCallEndReason
Auto Trait Implementations§
impl Freeze for VoiceCallEndReason
impl RefUnwindSafe for VoiceCallEndReason
impl Send for VoiceCallEndReason
impl Sync for VoiceCallEndReason
impl Unpin for VoiceCallEndReason
impl UnsafeUnpin for VoiceCallEndReason
impl UnwindSafe for VoiceCallEndReason
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