| /webrtc/dtls/examples/hub/src/ |
| H A D | utilities.rs | 12 pub enum Error { enum 28 impl From<Error> for dtls::Error { implementation 34 impl From<io::Error> for Error { implementation 41 pub async fn chat(conn: Arc<dyn Conn + Send + Sync>) -> Result<(), Error> { in chat() argument 78 ) -> Result<Certificate, Error> { in load_key_and_certificate() argument 90 pub fn load_key(path: PathBuf) -> Result<CryptoPrivateKey, Error> { in load_key() argument 104 pub fn load_certificate(path: PathBuf) -> Result<Vec<rustls::Certificate>, Error> { in load_certificate() argument
|
| /webrtc/data/src/ |
| H A D | error.rs | 9 pub enum Error { enum 35 impl From<Error> for util::Error { implementation 41 impl From<Error> for io::Error { implementation 55 impl PartialEq<util::Error> for Error { implementation 64 impl PartialEq<Error> for util::Error { implementation
|
| /webrtc/ice/src/control/ |
| H A D | mod.rs | 18 pub fn add_to_as(self, m: &mut Message, t: AttrType) -> Result<(), stun::Error> { in add_to_as() 26 pub fn get_from_as(&mut self, m: &Message, t: AttrType) -> Result<(), stun::Error> { in get_from_as() 39 fn add_to(&self, m: &mut Message) -> Result<(), stun::Error> { in add_to() 46 fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from() 60 fn add_to(&self, m: &mut Message) -> Result<(), stun::Error> { in add_to() 67 fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from() 84 fn add_to(&self, m: &mut Message) -> Result<(), stun::Error> { in add_to() 95 fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from()
|
| /webrtc/ice/src/agent/ |
| H A D | agent_vnet_test.rs | 38 async fn close(&self) -> Result<(), util::Error> { in close() 51 pub(crate) async fn close(&self) -> Result<(), Error> { in close() argument 71 ) -> Result<VNet, Error> { in build_simple_vnet() argument 120 ) -> Result<VNet, Error> { in build_vnet() argument 209 ) -> Result<Vec<u8>, turn::Error> { in auth_handle() 250 ) -> Result<(Arc<impl Conn>, Arc<impl Conn>), Error> { in connect_with_vnet() argument 290 ) -> Result<(Arc<impl Conn>, Arc<impl Conn>), Error> { in pipe_with_vnet() argument 359 ) -> Result<(), Error> { in gather_and_exchange_candidates() argument 417 ) -> Result<(), Error> { in connect_net2router() argument 435 ) -> Result<(), Error> { in connect_router2router() argument [all …]
|
| H A D | agent_transport.rs | 166 async fn connect(&self, _addr: SocketAddr) -> std::result::Result<(), util::Error> { in connect() 170 async fn recv(&self, buf: &mut [u8]) -> std::result::Result<usize, util::Error> { in recv() 187 ) -> std::result::Result<(usize, SocketAddr), util::Error> { in recv_from() 196 async fn send(&self, buf: &[u8]) -> std::result::Result<usize, util::Error> { in send() 226 ) -> std::result::Result<usize, util::Error> { in send_to() 230 fn local_addr(&self) -> std::result::Result<SocketAddr, util::Error> { in local_addr() 242 async fn close(&self) -> std::result::Result<(), util::Error> { in close()
|
| /webrtc/turn/src/client/ |
| H A D | relay_conn.rs | 44 async fn write_to(&self, data: &[u8], to: &str) -> Result<usize, util::Error>; in write_to() 50 ) -> Result<TransactionResult, Error>; in perform_transaction() argument 111 async fn connect(&self, _addr: SocketAddr) -> Result<(), util::Error> { in connect() 115 async fn recv(&self, _buf: &mut [u8]) -> Result<usize, util::Error> { in recv() 152 async fn send(&self, _buf: &[u8]) -> Result<usize, util::Error> { in send() 170 fn local_addr(&self) -> Result<SocketAddr, util::Error> { in local_addr() 180 async fn close(&self) -> Result<(), util::Error> { in close() 454 pub async fn close(&mut self) -> Result<(), Error> { in close() argument 463 ) -> Result<(), Error> { in refresh_allocation() argument 517 async fn refresh_permissions(&mut self) -> Result<(), Error> { in refresh_permissions() argument [all …]
|
| /webrtc/turn/src/proto/ |
| H A D | data.rs | 21 fn add_to(&self, m: &mut Message) -> Result<(), stun::Error> { in add_to() 29 fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from()
|
| H A D | dontfrag.rs | 13 fn add_to(&self, m: &mut Message) -> Result<(), stun::Error> { in add_to() 21 fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from()
|
| H A D | rsrvtoken.rs | 25 fn add_to(&self, m: &mut Message) -> Result<(), stun::Error> { in add_to() 34 fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from()
|
| H A D | reqtrans.rs | 33 fn add_to(&self, m: &mut Message) -> Result<(), stun::Error> { in add_to() 46 fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from()
|
| /webrtc/examples/examples/play-from-disk-renegotiation/ |
| H A D | play-from-disk-renegotiation.rs | 51 async fn simple_file_send(filename: &str) -> Result<Response<Body>, hyper::Error> { in simple_file_send() 64 async fn remote_handler(req: Request<Body>) -> Result<Response<Body>, hyper::Error> { in remote_handler() 93 ) -> Result<Response<Body>, hyper::Error> { in do_signaling() 151 ) -> Result<Response<Body>, hyper::Error> { in create_peer_connection() 167 ) -> Result<Response<Body>, hyper::Error> { in add_video() 213 ) -> Result<Response<Body>, hyper::Error> { in remove_video()
|
| /webrtc/constraints/src/algorithms/fitness_distance/ |
| H A D | settings.rs | 15 type Error = SettingsFitnessDistanceError; typedef 17 fn fitness_distance(&self, settings: &'a MediaTrackSettings) -> Result<f64, Self::Error> { in fitness_distance()
|
| H A D | empty_constraint.rs | 6 type Error = SettingFitnessDistanceError; typedef 8 fn fitness_distance(&self, _setting: Option<&'a T>) -> Result<f64, Self::Error> { in fitness_distance()
|
| /webrtc/rtp/src/extension/video_orientation_extension/ |
| H A D | mod.rs | 104 type Error = util::Error; typedef 106 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() argument 118 type Error = util::Error; typedef 120 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() argument
|
| /webrtc/rtp/src/ |
| H A D | error.rs | 7 pub enum Error { enum 65 impl From<Error> for util::Error { implementation 71 impl PartialEq<util::Error> for Error { implementation
|
| /webrtc/media/src/audio/ |
| H A D | sample.rs | 87 fn from_reader<B: ByteOrder, R: Read>(reader: &mut R) -> Result<Self, std::io::Error>; in from_reader() 89 fn from_bytes<B: ByteOrder>(bytes: &[u8]) -> Result<Self, std::io::Error> { in from_bytes() 96 fn from_reader<B: ByteOrder, R: Read>(reader: &mut R) -> Result<Self, std::io::Error> { in from_reader() 102 fn from_reader<B: ByteOrder, R: Read>(reader: &mut R) -> Result<Self, std::io::Error> { in from_reader()
|
| H A D | buffer.rs | 18 type Error; typedef 20 fn from_bytes<B: ByteOrder>(bytes: &[u8], channels: usize) -> Result<Self, Self::Error>; in from_bytes() argument 24 type Error; typedef 31 ) -> Result<usize, Self::Error>; in to_bytes() 35 pub enum Error { enum 183 type Error = (); typedef 185 fn from_bytes<B: ByteOrder>(bytes: &[u8], channels: usize) -> Result<Self, Self::Error> { in from_bytes() argument 206 type Error = (); typedef 208 fn from_bytes<B: ByteOrder>(bytes: &[u8], channels: usize) -> Result<Self, Self::Error> { in from_bytes() argument 243 type Error = (); typedef [all …]
|
| /webrtc/ice/src/priority/ |
| H A D | mod.rs | 16 fn add_to(&self, m: &mut Message) -> Result<(), stun::Error> { in add_to() 26 pub fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from()
|
| /webrtc/dtls/src/ |
| H A D | error.rs | 13 pub enum Error { enum 189 impl From<io::Error> for Error { implementation 195 impl From<sec1::Error> for Error { implementation 211 impl From<p256::elliptic_curve::Error> for Error { implementation 217 impl From<block_modes::InvalidKeyIvLength> for Error { implementation 222 impl From<block_modes::BlockModeError> for Error { implementation 229 impl<T> From<MpscSendError<T>> for Error { implementation
|
| /webrtc/examples/examples/ice-restart/ |
| H A D | ice-restart.rs | 41 async fn simple_file_send(filename: &str) -> Result<Response<Body>, hyper::Error> { in simple_file_send() 54 async fn remote_handler(req: Request<Body>) -> Result<Response<Body>, hyper::Error> { in remote_handler() 71 async fn do_signaling(req: Request<Body>) -> Result<Response<Body>, hyper::Error> { in do_signaling()
|
| /webrtc/dtls/src/flight/ |
| H A D | flight3.rs | 47 ) -> Result<Box<dyn Flight + Send + Sync>, (Option<Alert>, Option<Error>)> { in parse() 351 ) -> Result<Vec<Packet>, (Option<Alert>, Option<Error>)> { in generate() 418 ) -> Result<(), (Option<Alert>, Option<Error>)> { in handle_server_key_exchange()
|
| /webrtc/ice/src/udp_mux/ |
| H A D | mod.rs | 42 async fn close(&self) -> Result<(), Error>; in close() argument 45 async fn get_conn(self: Arc<Self>, ufrag: &str) -> Result<Arc<dyn Conn + Send + Sync>, Error>; in get_conn() argument 107 fn create_muxed_conn(self: &Arc<Self>, ufrag: &str) -> Result<UDPMuxConn, Error> { in create_muxed_conn() argument 223 async fn close(&self) -> Result<(), Error> { in close() argument 257 async fn get_conn(self: Arc<Self>, ufrag: &str) -> Result<Arc<dyn Conn + Send + Sync>, Error> { in get_conn() argument 331 async fn send_to(&self, buf: &[u8], target: &SocketAddr) -> Result<usize, Error> { in send_to() argument
|
| /webrtc/rtcp/src/ |
| H A D | error.rs | 7 pub enum Error { enum 107 impl From<Error> for util::Error { implementation 113 impl PartialEq<util::Error> for Error { implementation
|
| /webrtc/sdp/src/ |
| H A D | error.rs | 12 pub enum Error { enum 52 impl From<io::Error> for Error { implementation
|
| /webrtc/stun/src/ |
| H A D | error.rs | 11 pub enum Error { enum 87 impl From<io::Error> for Error { implementation 94 impl<T> From<MpscSendError<T>> for Error { implementation
|