| /webrtc/dtls/src/crypto/ |
| H A D | mod.rs | 224 .map_err(|e| Error::Other(e.to_string()))?, in try_from() 260 .map_err(|e| Error::Other(e.to_string()))?, in from_key_pair() 296 .map_err(|e| Error::Other(e.to_string()))? in generate_key_signature() 309 .map_err(|e| Error::Other(e.to_string()))?; in generate_key_signature() 334 .map_err(|e| Error::Other(e.to_string()))?; in verify_signature() 380 .map_err(|e| Error::Other(e.to_string()))?; in verify_signature() 418 .map_err(|e| Error::Other(e.to_string()))? in generate_certificate_verify() 431 .map_err(|e| Error::Other(e.to_string()))?; in generate_certificate_verify() 478 Err(err) => return Err(Error::Other(err.to_string())), in verify_client_cert() 493 Err(err) => return Err(Error::Other(err.to_string())), in verify_server_cert() [all …]
|
| H A D | crypto_ccm.rs | 124 .map_err(|e| Error::Other(e.to_string()))?; in encrypt() 128 .map_err(|e| Error::Other(e.to_string()))?; in encrypt() 173 .map_err(|e| Error::Other(e.to_string()))?; in decrypt() 179 .map_err(|e| Error::Other(e.to_string()))?; in decrypt()
|
| H A D | crypto_test.rs | 46 Err(_) => return Err(Error::Other("Pem::read error".to_owned())), in test_generate_key_signature() 93 RsaKeyPair::from_der(&pem.contents).map_err(|e| Error::Other(e.to_string()))?, in test_generate_key_signature()
|
| H A D | crypto_gcm.rs | 71 .map_err(|e| Error::Other(e.to_string()))?; in encrypt() 112 .map_err(|e| Error::Other(e.to_string()))?; in decrypt()
|
| /webrtc/webrtc/src/mux/ |
| H A D | mux_test.rs | 53 Err(io::Error::new(io::ErrorKind::Other, "Not applicable").into()) in connect() 64 io::ErrorKind::Other, in recv() 72 Err(io::Error::new(io::ErrorKind::Other, "Not applicable").into()) in recv_from() 76 Err(io::Error::new(io::ErrorKind::Other, "Not applicable").into()) in send() 80 Err(io::Error::new(io::ErrorKind::Other, "Not applicable").into()) in send_to() 84 Err(io::Error::new(io::ErrorKind::Other, "Not applicable").into()) in local_addr()
|
| H A D | endpoint.rs | 37 Err(io::Error::new(io::ErrorKind::Other, "Not applicable").into()) in connect() 45 Err(err) => Err(io::Error::new(io::ErrorKind::Other, err.to_string()).into()), in recv() 49 Err(io::Error::new(io::ErrorKind::Other, "Not applicable").into()) in recv_from() 58 Err(io::Error::new(io::ErrorKind::Other, "Not applicable").into()) in send_to()
|
| /webrtc/ice/src/agent/ |
| H A D | agent_transport.rs | 167 Err(io::Error::new(io::ErrorKind::Other, "Not applicable").into()) in connect() 172 return Err(io::Error::new(io::ErrorKind::Other, "Conn is closed").into()); in recv() 177 Err(err) => return Err(io::Error::new(io::ErrorKind::Other, err.to_string()).into()), in recv() 192 Err(io::Error::new(io::ErrorKind::Other, "Not applicable").into()) in recv_from() 198 return Err(io::Error::new(io::ErrorKind::Other, "Conn is closed").into()); in send() 202 return Err(util::Error::Other("ErrIceWriteStunMessage".into())); in send() 218 Err(err) => Err(io::Error::new(io::ErrorKind::Other, err.to_string()).into()), in send() 227 Err(io::Error::new(io::ErrorKind::Other, "Not applicable").into()) in send_to()
|
| /webrtc/interceptor/src/ |
| H A D | error.rs | 35 Other(String), enumerator 44 Err(Error::Other(errs_strs.join("\n"))) in flatten_errs()
|
| /webrtc/util/src/conn/ |
| H A D | conn_pipe.rs | 32 Err(Error::new(ErrorKind::Other, "Not applicable").into()) in connect() 55 Err(err) => return Err(Error::new(ErrorKind::Other, err.to_string()).into()), in send() 61 Err(Error::new(ErrorKind::Other, "Not applicable").into()) in send_to()
|
| /webrtc/dtls/examples/hub/src/ |
| H A D | utilities.rs | 25 Other(String), enumerator 30 dtls::Error::Other(e.to_string()) in from() 36 Error::Other(e.to_string()) in from()
|
| /webrtc/dtls/src/cipher_suite/ |
| H A D | cipher_suite_tls_psk_with_aes_128_gcm_sha256.rs | 81 Err(Error::Other( in encrypt() 91 Err(Error::Other( in decrypt()
|
| H A D | cipher_suite_aes_128_gcm_sha256.rs | 98 Err(Error::Other( in encrypt() 108 Err(Error::Other( in decrypt()
|
| H A D | cipher_suite_aes_256_cbc_sha.rs | 98 Err(Error::Other( in encrypt() 108 Err(Error::Other( in decrypt()
|
| H A D | cipher_suite_aes_128_ccm.rs | 103 Err(Error::Other( in encrypt() 113 Err(Error::Other( in decrypt()
|
| /webrtc/stun/src/ |
| H A D | textattrs.rs | 59 _ => return Err(Error::Other(format!("Unsupported AttrType {}", self.attr))), in add_to() 88 _ => return Err(Error::Other(format!("Unsupported AttrType {attr}"))), in get_from_as()
|
| /webrtc/dtls/src/ |
| H A D | error.rs | 175 Other(String), enumerator 219 Error::Other(e.to_string()) in from() 224 Error::Other(e.to_string()) in from()
|
| /webrtc/rtp/src/extension/video_orientation_extension/ |
| H A D | mod.rs | 110 _ => Err(util::Error::Other(format!( in try_from() 126 _ => Err(util::Error::Other(format!( in try_from()
|
| /webrtc/ice/src/util/ |
| H A D | mod.rs | 29 return Err(Error::Other(format!( in assert_inbound_username() 75 Err(err) => return Err(Error::Other(err.to_string())), in stun_request() 77 Err(err) => return Err(Error::Other(err.to_string())), in stun_request()
|
| /webrtc/turn/src/client/ |
| H A D | relay_conn.rs | 112 Err(io::Error::new(io::ErrorKind::Other, "Not applicable").into()) in connect() 116 Err(io::Error::new(io::ErrorKind::Other, "Not applicable").into()) in recv() 153 Err(io::Error::new(io::ErrorKind::Other, "Not applicable").into()) in send() 165 Err(err) => Err(io::Error::new(io::ErrorKind::Other, err.to_string()).into()), in send_to() 188 .map_err(|err| util::Error::Other(format!("{err}"))); in close() 241 .ok_or_else(|| Error::Other("Addr not found".to_owned()))? in send_to() 429 return Err(Error::Other(format!("{}", res.typ))); in create_permissions() 434 return Err(Error::Other(format!("{} (error {})", res.typ, code))); in create_permissions() 499 return Err(Error::Other(format!("{}", res.typ))); in refresh_allocation()
|
| /webrtc/ice/src/udp_mux/ |
| H A D | udp_mux_conn.rs | 198 Err(Error::Other(format!( in send_to() 267 Err(io::Error::new(io::ErrorKind::Other, "Not applicable").into()) in connect() 271 Err(io::Error::new(io::ErrorKind::Other, "Not applicable").into()) in recv() 279 Err(io::Error::new(io::ErrorKind::Other, "Not applicable").into()) in send()
|
| /webrtc/turn/src/proto/ |
| H A D | proto_test.rs | 20 Err(_) => return Err(Error::Other("hex decode error".to_owned())), in test_chrome_alloc_request()
|
| /webrtc/util/src/marshal/ |
| H A D | mod.rs | 20 Err(Error::Other(format!( in marshal()
|
| /webrtc/ice/src/ |
| H A D | error.rs | 215 Other(String), enumerator 237 Error::Other(e.to_string()) in from()
|
| /webrtc/turn/src/ |
| H A D | error.rs | 166 Other(String), enumerator 188 Error::Other(e.to_string()) in from()
|
| /webrtc/sctp/src/ |
| H A D | error.rs | 224 Other(String), enumerator 234 e => io::Error::new(io::ErrorKind::Other, e.to_string()), in from()
|