pub enum AudioCapturerEvent {
OnPacketProduced {
packet: StreamPacket,
},
OnEndOfStream {},
}
Variants§
Implementations§
Source§impl AudioCapturerEvent
impl AudioCapturerEvent
pub fn into_on_packet_produced(self) -> Option<StreamPacket>
pub fn into_on_end_of_stream(self) -> Option<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AudioCapturerEvent
impl RefUnwindSafe for AudioCapturerEvent
impl Send for AudioCapturerEvent
impl Sync for AudioCapturerEvent
impl Unpin for AudioCapturerEvent
impl UnwindSafe for AudioCapturerEvent
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