#[non_exhaustive]pub enum VoiceEndReason {
Eot,
Inactivity,
}Expand description
Why a voice stream ended.
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.
Eot
Real EOT packet received.
Inactivity
No voice frames for the protocol’s inactivity window — synthesized end.
Trait Implementations§
Source§impl Clone for VoiceEndReason
impl Clone for VoiceEndReason
Source§fn clone(&self) -> VoiceEndReason
fn clone(&self) -> VoiceEndReason
Returns a duplicate of the value. Read more
1.0.0 · 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 VoiceEndReason
impl Debug for VoiceEndReason
Source§impl PartialEq for VoiceEndReason
impl PartialEq for VoiceEndReason
impl Copy for VoiceEndReason
impl Eq for VoiceEndReason
impl StructuralPartialEq for VoiceEndReason
Auto Trait Implementations§
impl Freeze for VoiceEndReason
impl RefUnwindSafe for VoiceEndReason
impl Send for VoiceEndReason
impl Sync for VoiceEndReason
impl Unpin for VoiceEndReason
impl UnwindSafe for VoiceEndReason
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