pub struct Live { /* private fields */ }Implementations§
Source§impl Live
impl Live
Sourcepub async fn connect(
&self,
model: impl Into<String>,
config: LiveConnectConfig,
) -> Result<LiveSession>
pub async fn connect( &self, model: impl Into<String>, config: LiveConnectConfig, ) -> Result<LiveSession>
Sourcepub fn builder(&self, model: impl Into<String>) -> LiveSessionBuilder
pub fn builder(&self, model: impl Into<String>) -> LiveSessionBuilder
创建 LiveSessionBuilder。
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Live
impl !RefUnwindSafe for Live
impl Send for Live
impl Sync for Live
impl Unpin for Live
impl UnsafeUnpin for Live
impl !UnwindSafe for Live
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