Searched refs:RTCIceGathererState (Results 1 – 4 of 4) sorted by relevance
5 pub enum RTCIceGathererState { enum30 impl From<&str> for RTCIceGathererState { implementation42 impl From<u8> for RTCIceGathererState { implementation45 1 => RTCIceGathererState::New, in from()46 2 => RTCIceGathererState::Gathering, in from()47 3 => RTCIceGathererState::Complete, in from()48 4 => RTCIceGathererState::Closed, in from()54 impl fmt::Display for RTCIceGathererState { implementation59 RTCIceGathererState::Complete => { in fmt()62 RTCIceGathererState::Closed => { in fmt()[all …]
5 use crate::ice_transport::ice_gatherer_state::RTCIceGathererState;39 dyn (FnMut(RTCIceGathererState) -> Pin<Box<dyn Future<Output = ()> + Send + 'static>>)77 state: Arc::new(AtomicU8::new(RTCIceGathererState::New as u8)), in new()89 if agent.is_some() || self.state() != RTCIceGathererState::New { in create_agent()155 self.set_state(RTCIceGathererState::Gathering).await; in gather()179 .store(RTCIceGathererState::Complete as u8, Ordering::SeqCst); in gather()183 f(RTCIceGathererState::Complete).await; in gather()208 self.set_state(RTCIceGathererState::Closed).await; in close()272 pub fn state(&self) -> RTCIceGathererState { in state() argument276 pub async fn set_state(&self, s: RTCIceGathererState) { in set_state() argument[all …]
832 RTCIceGathererState::New => RTCIceGatheringState::New, in ice_gathering_state()833 RTCIceGathererState::Gathering => RTCIceGatheringState::Gathering, in ice_gathering_state()
36 use crate::ice_transport::ice_gatherer_state::RTCIceGathererState;1281 if self.internal.ice_gatherer.state() == RTCIceGathererState::New { in set_local_description()