pub struct OpenAIRealtimeGateway { /* private fields */ }Implementations§
Source§impl OpenAIRealtimeGateway
impl OpenAIRealtimeGateway
pub fn new(options: OpenAIRealtimeGatewayOptions) -> Result<Self, &'static str>
Trait Implementations§
Source§impl RealtimeVoiceGateway for OpenAIRealtimeGateway
impl RealtimeVoiceGateway for OpenAIRealtimeGateway
fn open<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
model: &'life1 str,
_config: &'life2 RealtimeVoiceConfig,
correlation_id: Option<&'life3 str>,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn RealtimeGatewaySession>, TransportError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Auto Trait Implementations§
impl Freeze for OpenAIRealtimeGateway
impl RefUnwindSafe for OpenAIRealtimeGateway
impl Send for OpenAIRealtimeGateway
impl Sync for OpenAIRealtimeGateway
impl Unpin for OpenAIRealtimeGateway
impl UnsafeUnpin for OpenAIRealtimeGateway
impl UnwindSafe for OpenAIRealtimeGateway
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