#[non_exhaustive]pub enum LifecycleEvent {
NewChannel,
Hangup,
Destroy,
Answered,
Other,
}Expand description
Which lifecycle step a MessageKind::ChannelLifecycle line narrates.
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.
NewChannel
New Channel <channel> [<uuid>] (switch_channel.c).
Hangup
Hangup <channel> [<state>] [<cause>] (switch_channel.c).
Destroy
Close Channel <channel> [<state>] (switch_core_session.c).
Answered
Channel [<channel>] has been answered (switch_channel.c).
Other
A lifecycle line none of the above names.
Trait Implementations§
Source§impl Clone for LifecycleEvent
impl Clone for LifecycleEvent
impl Copy for LifecycleEvent
Source§impl Debug for LifecycleEvent
impl Debug for LifecycleEvent
Source§impl Display for LifecycleEvent
impl Display for LifecycleEvent
impl Eq for LifecycleEvent
Source§impl PartialEq for LifecycleEvent
impl PartialEq for LifecycleEvent
impl StructuralPartialEq for LifecycleEvent
Auto Trait Implementations§
impl Freeze for LifecycleEvent
impl RefUnwindSafe for LifecycleEvent
impl Send for LifecycleEvent
impl Sync for LifecycleEvent
impl Unpin for LifecycleEvent
impl UnsafeUnpin for LifecycleEvent
impl UnwindSafe for LifecycleEvent
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.