pub enum UserControlEvent {
StreamBegin(u32),
StreamEof(u32),
StreamDry(u32),
SetBufferLength {
stream_id: u32,
buffer_ms: u32,
},
StreamIsRecorded(u32),
PingRequest(u32),
PingResponse(u32),
Unknown {
event_type: u16,
data: Bytes,
},
}Expand description
User Control Event
Variants§
StreamBegin(u32)
StreamEof(u32)
StreamDry(u32)
SetBufferLength
StreamIsRecorded(u32)
PingRequest(u32)
PingResponse(u32)
Unknown
Trait Implementations§
Source§impl Clone for UserControlEvent
impl Clone for UserControlEvent
Source§fn clone(&self) -> UserControlEvent
fn clone(&self) -> UserControlEvent
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 moreAuto Trait Implementations§
impl !Freeze for UserControlEvent
impl RefUnwindSafe for UserControlEvent
impl Send for UserControlEvent
impl Sync for UserControlEvent
impl Unpin for UserControlEvent
impl UnwindSafe for UserControlEvent
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