pub struct CallsApp {
pub app_id: String,
/* private fields */
}Fields§
§app_id: StringImplementations§
Source§impl CallsApp
impl CallsApp
pub async fn build_request<T: Serialize>( &self, path: &str, body: &T, method: Method, ) -> Result<Response>
pub async fn new_session( &self, new_session: &SessionDescription, ) -> Result<NewSessionResponse>
pub async fn add_tracks( &self, session_id: &str, track_objects: Vec<TrackObject>, offer_sdp: Option<String>, ) -> Result<TracksResponse>
pub async fn renegotiate( &self, session_id: &str, session_description: SessionDescription, ) -> Result<()>
pub async fn get_session_state(&self, session_id: &str) -> Result<SessionState>
pub async fn close_tracks( &self, session_id: &str, track_objects: Vec<TrackObject>, sdp: Option<String>, ) -> Result<TracksResponse>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CallsApp
impl !RefUnwindSafe for CallsApp
impl Send for CallsApp
impl Sync for CallsApp
impl Unpin for CallsApp
impl !UnwindSafe for CallsApp
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