#[non_exhaustive]pub enum StreamEventKind {
PublishStarted,
PublishEnded,
SubscriberJoined {
protocol: String,
},
SubscriberLeft {
protocol: String,
},
RecordingStarted,
RecordingEnded,
TranscodeStarted,
TranscodeEnded,
Error {
message: String,
},
}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.
PublishStarted
PublishEnded
SubscriberJoined
SubscriberLeft
RecordingStarted
RecordingEnded
TranscodeStarted
TranscodeEnded
Error
Trait Implementations§
Source§impl Clone for StreamEventKind
impl Clone for StreamEventKind
Source§fn clone(&self) -> StreamEventKind
fn clone(&self) -> StreamEventKind
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 StreamEventKind
impl Debug for StreamEventKind
impl Eq for StreamEventKind
Source§impl PartialEq for StreamEventKind
impl PartialEq for StreamEventKind
Source§fn eq(&self, other: &StreamEventKind) -> bool
fn eq(&self, other: &StreamEventKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StreamEventKind
Auto Trait Implementations§
impl Freeze for StreamEventKind
impl RefUnwindSafe for StreamEventKind
impl Send for StreamEventKind
impl Sync for StreamEventKind
impl Unpin for StreamEventKind
impl UnsafeUnpin for StreamEventKind
impl UnwindSafe for StreamEventKind
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