Searched refs:Direction (Results 1 – 4 of 4) sorted by relevance
| /webrtc/sdp/src/direction/ |
| H A D | direction_test.rs | 7 ("sendrecv", Direction::SendRecv), in test_new_direction() 8 ("sendonly", Direction::SendOnly), in test_new_direction() 9 ("recvonly", Direction::RecvOnly), in test_new_direction() 10 ("inactive", Direction::Inactive), in test_new_direction() 16 let dir = Direction::new(u.0); in test_new_direction() 20 let dir = Direction::new(u); in test_new_direction() 21 assert!(dir == Direction::Unspecified); in test_new_direction() 29 (Direction::SendRecv, "sendrecv"), in test_direction_string() 30 (Direction::SendOnly, "sendonly"), in test_direction_string() 31 (Direction::RecvOnly, "recvonly"), in test_direction_string() [all …]
|
| H A D | mod.rs | 8 pub enum Direction { enum 27 impl fmt::Display for Direction { implementation 30 Direction::SendRecv => DIRECTION_SEND_RECV_STR, in fmt() 31 Direction::SendOnly => DIRECTION_SEND_ONLY_STR, in fmt() 32 Direction::RecvOnly => DIRECTION_RECV_ONLY_STR, in fmt() 33 Direction::Inactive => DIRECTION_INACTIVE_STR, in fmt() 40 impl Direction { implementation 44 DIRECTION_SEND_RECV_STR => Direction::SendRecv, in new() 45 DIRECTION_SEND_ONLY_STR => Direction::SendOnly, in new() 47 DIRECTION_INACTIVE_STR => Direction::Inactive, in new() [all …]
|
| /webrtc/sdp/src/extmap/ |
| H A D | mod.rs | 30 pub direction: Direction, 38 if self.direction != Direction::Unspecified { in fmt() 86 let mut direction = Direction::Unspecified; in unmarshal() 88 direction = Direction::new(valdir[1]); in unmarshal() 89 if direction == Direction::Unspecified { in unmarshal()
|
| H A D | extmap_test.rs | 62 direction: Direction::Unspecified, in test_transport_cc_extmap()
|