pub enum RealtimeInput {
Blob(Blob),
ActivityStart,
ActivityEnd,
AudioStreamEnd,
}Expand description
Realtime input for LiveConnection::send_realtime: a blob, activity start/end markers
and the end of the audio stream. Moved from gadk-gemini, which re-exports it.
Variants§
Blob(Blob)
Audio or image data. An empty MIME type is detected by the connection.
ActivityStart
Start of user activity (manual activity detection).
ActivityEnd
End of user activity (manual activity detection).
AudioStreamEnd
The audio stream has ended (automatic activity detection).
Trait Implementations§
Source§impl Clone for RealtimeInput
impl Clone for RealtimeInput
Source§impl Debug for RealtimeInput
impl Debug for RealtimeInput
Source§impl PartialEq for RealtimeInput
impl PartialEq for RealtimeInput
impl StructuralPartialEq for RealtimeInput
Auto Trait Implementations§
impl !Freeze for RealtimeInput
impl Forget for RealtimeInput
impl Move for RealtimeInput
impl RefUnwindSafe for RealtimeInput
impl Send for RealtimeInput
impl Sync for RealtimeInput
impl Unpin for RealtimeInput
impl UnsafeUnpin for RealtimeInputwhere
*const u8: UnsafeUnpin,
Align8<*mut ()>: UnsafeUnpin,
&'static Vtable: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for RealtimeInputwhere
*const u8: UnwindSafe,
Align8<*mut ()>: UnwindSafe,
&'static Vtable: UnwindSafe,
RawVecInner: UnwindSafe,
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