Home
last modified time | relevance | path

Searched refs:Other (Results 1 – 25 of 73) sorted by relevance

123

/webrtc/dtls/src/crypto/
H A Dmod.rs224 .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 Dcrypto_ccm.rs124 .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 Dcrypto_test.rs46 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 Dcrypto_gcm.rs71 .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 Dmux_test.rs53 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 Dendpoint.rs37 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 Dagent_transport.rs167 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 Derror.rs35 Other(String), enumerator
44 Err(Error::Other(errs_strs.join("\n"))) in flatten_errs()
/webrtc/util/src/conn/
H A Dconn_pipe.rs32 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 Dutilities.rs25 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 Dcipher_suite_tls_psk_with_aes_128_gcm_sha256.rs81 Err(Error::Other( in encrypt()
91 Err(Error::Other( in decrypt()
H A Dcipher_suite_aes_128_gcm_sha256.rs98 Err(Error::Other( in encrypt()
108 Err(Error::Other( in decrypt()
H A Dcipher_suite_aes_256_cbc_sha.rs98 Err(Error::Other( in encrypt()
108 Err(Error::Other( in decrypt()
H A Dcipher_suite_aes_128_ccm.rs103 Err(Error::Other( in encrypt()
113 Err(Error::Other( in decrypt()
/webrtc/stun/src/
H A Dtextattrs.rs59 _ => 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 Derror.rs175 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 Dmod.rs110 _ => Err(util::Error::Other(format!( in try_from()
126 _ => Err(util::Error::Other(format!( in try_from()
/webrtc/ice/src/util/
H A Dmod.rs29 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 Drelay_conn.rs112 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 Dudp_mux_conn.rs198 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 Dproto_test.rs20 Err(_) => return Err(Error::Other("hex decode error".to_owned())), in test_chrome_alloc_request()
/webrtc/util/src/marshal/
H A Dmod.rs20 Err(Error::Other(format!( in marshal()
/webrtc/ice/src/
H A Derror.rs215 Other(String), enumerator
237 Error::Other(e.to_string()) in from()
/webrtc/turn/src/
H A Derror.rs166 Other(String), enumerator
188 Error::Other(e.to_string()) in from()
/webrtc/sctp/src/
H A Derror.rs224 Other(String), enumerator
234 e => io::Error::new(io::ErrorKind::Other, e.to_string()), in from()

123