SYMBOL INDEX (584 symbols across 43 files) FILE: ci/socket-io-restart-url-auth.js constant TIMESTAMP_SLACK_ALLOWED (line 7) | const TIMESTAMP_SLACK_ALLOWED = 1000; function isValidTimestamp (line 9) | function isValidTimestamp(timestampStr) { FILE: engineio/benches/engineio.rs function engine_io_url (line 15) | pub fn engine_io_url() -> Result { function engine_io_url_secure (line 21) | pub fn engine_io_url_secure() -> Result { function tls_connector (line 27) | pub fn tls_connector() -> Result { function engine_io_socket_build (line 53) | pub fn engine_io_socket_build(url: Url) -> Result { function engine_io_socket_build_polling (line 57) | pub fn engine_io_socket_build_polling(url: Url) -> Result { function engine_io_socket_build_polling_secure (line 61) | pub fn engine_io_socket_build_polling_secure(url: Url) -> Result Result Result Packet { function engine_io_emit (line 81) | pub fn engine_io_emit(socket: &Client, packet: Packet) -> Result<(), Err... function criterion_engine_io_socket_build (line 92) | pub fn criterion_engine_io_socket_build(c: &mut Criterion) { function criterion_engine_io_socket_build_polling (line 103) | pub fn criterion_engine_io_socket_build_polling(c: &mut Criterion) { function criterion_engine_io_socket_build_polling_secure (line 114) | pub fn criterion_engine_io_socket_build_polling_secure(c: &mut Criterion) { function criterion_engine_io_socket_build_websocket (line 125) | pub fn criterion_engine_io_socket_build_websocket(c: &mut Criterion) { function criterion_engine_io_socket_build_websocket_secure (line 136) | pub fn criterion_engine_io_socket_build_websocket_secure(c: &mut Criteri... function criterion_engine_io_packet (line 147) | pub fn criterion_engine_io_packet(c: &mut Criterion) { function criterion_engine_io_emit_polling (line 151) | pub fn criterion_engine_io_emit_polling(c: &mut Criterion) { function criterion_engine_io_emit_polling_secure (line 163) | pub fn criterion_engine_io_emit_polling_secure(c: &mut Criterion) { function criterion_engine_io_emit_websocket (line 175) | pub fn criterion_engine_io_emit_websocket(c: &mut Criterion) { function criterion_engine_io_emit_websocket_secure (line 187) | pub fn criterion_engine_io_emit_websocket_secure(c: &mut Criterion) { function engine_io_socket_build (line 213) | pub async fn engine_io_socket_build(url: Url) -> Result { function engine_io_socket_build_polling (line 217) | pub async fn engine_io_socket_build_polling(url: Url) -> Result Result Result Result... function engine_io_packet (line 239) | pub fn engine_io_packet() -> Packet { function engine_io_emit (line 243) | pub async fn engine_io_emit(socket: &Client, packet: Packet) -> Result<(... function criterion_engine_io_socket_build (line 270) | pub fn criterion_engine_io_socket_build(c: &mut Criterion) { function criterion_engine_io_socket_build_polling (line 283) | pub fn criterion_engine_io_socket_build_polling(c: &mut Criterion) { function criterion_engine_io_socket_build_polling_secure (line 296) | pub fn criterion_engine_io_socket_build_polling_secure(c: &mut Criterion) { function criterion_engine_io_socket_build_websocket (line 309) | pub fn criterion_engine_io_socket_build_websocket(c: &mut Criterion) { function criterion_engine_io_socket_build_websocket_secure (line 322) | pub fn criterion_engine_io_socket_build_websocket_secure(c: &mut Criteri... function criterion_engine_io_packet (line 335) | pub fn criterion_engine_io_packet(c: &mut Criterion) { function criterion_engine_io_emit_polling (line 341) | pub fn criterion_engine_io_emit_polling(c: &mut Criterion) { function criterion_engine_io_emit_polling_secure (line 360) | pub fn criterion_engine_io_emit_polling_secure(c: &mut Criterion) { function criterion_engine_io_emit_websocket (line 380) | pub fn criterion_engine_io_emit_websocket(c: &mut Criterion) { function criterion_engine_io_emit_websocket_secure (line 400) | pub fn criterion_engine_io_emit_websocket_secure(c: &mut Criterion) { FILE: engineio/src/asynchronous/async_socket.rs type Socket (line 23) | pub struct Socket { method new (line 40) | pub(crate) fn new( method connect (line 70) | pub async fn connect(&self) -> Result<()> { method handle_incoming_packet (line 89) | pub(super) async fn handle_incoming_packet(&self, packet: Packet) -> R... method parse_payload (line 120) | fn parse_payload(bytes: Bytes) -> impl Stream> { method stream (line 132) | fn stream( method disconnect (line 146) | pub async fn disconnect(&self) -> Result<()> { method emit (line 161) | pub async fn emit(&self, packet: Packet) -> Result<()> { method call_error_callback (line 191) | fn call_error_callback(&self, text: String) { method is_connected (line 199) | pub(crate) fn is_connected(&self) -> bool { method pinged (line 203) | pub(crate) async fn pinged(&self) { method time_to_next_ping (line 210) | async fn time_to_next_ping(&self) -> u64 { method handle_packet (line 224) | pub(crate) fn handle_packet(&self, packet: Packet) { method handle_data (line 231) | pub(crate) fn handle_data(&self, data: Bytes) { method handle_close (line 238) | pub(crate) fn handle_close(&self) { method as_stream (line 248) | pub(crate) fn as_stream<'a>( method fmt (line 280) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: engineio/src/asynchronous/async_transports/polling.rs type PollingTransport (line 22) | pub struct PollingTransport { method new (line 29) | pub fn new( method address (line 58) | fn address(mut url: Url) -> Result { method send_request (line 65) | fn send_request(url: Url, client: Client) -> impl Stream; method poll_next (line 94) | fn poll_next( method emit (line 104) | async fn emit(&self, data: Bytes, is_binary_att: bool) -> Result<()> { method base_url (line 135) | async fn base_url(&self) -> Result { method set_base_url (line 139) | async fn set_base_url(&self, base_url: Url) -> Result<()> { method fmt (line 153) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function polling_transport_base_url (line 169) | async fn polling_transport_base_url() -> Result<()> { FILE: engineio/src/asynchronous/async_transports/websocket.rs type WebsocketTransport (line 23) | pub struct WebsocketTransport { method new (line 30) | pub async fn new(base_url: Url, headers: Option) -> Result<... method upgrade (line 53) | pub(crate) async fn upgrade(&self) -> Result<()> { method poll_next (line 57) | pub(crate) async fn poll_next(&self) -> Result> { method emit (line 64) | async fn emit(&self, data: Bytes, is_binary_att: bool) -> Result<()> { method base_url (line 68) | async fn base_url(&self) -> Result { method set_base_url (line 72) | async fn set_base_url(&self, base_url: Url) -> Result<()> { type Item (line 87) | type Item = Result; method poll_next (line 89) | fn poll_next( method fmt (line 98) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function new (line 117) | async fn new() -> Result { function websocket_transport_base_url (line 125) | async fn websocket_transport_base_url() -> Result<()> { function websocket_secure_debug (line 157) | async fn websocket_secure_debug() -> Result<()> { FILE: engineio/src/asynchronous/async_transports/websocket_general.rs type AsyncWebsocketSender (line 14) | type AsyncWebsocketSender = SplitSink Result<()> { method emit (line 68) | pub(crate) async fn emit(&self, data: Bytes, is_binary_att: bool) -> R... method poll_next (line 82) | pub(crate) async fn poll_next(&self) -> Result> { type Item (line 105) | type Item = Result; method poll_next (line 107) | fn poll_next( FILE: engineio/src/asynchronous/async_transports/websocket_secure.rs type WebsocketSecureTransport (line 25) | pub struct WebsocketSecureTransport { method new (line 33) | pub(crate) async fn new( method upgrade (line 74) | pub(crate) async fn upgrade(&self) -> Result<()> { method poll_next (line 78) | pub(crate) async fn poll_next(&self) -> Result> { type Item (line 84) | type Item = Result; method poll_next (line 86) | fn poll_next( method emit (line 96) | async fn emit(&self, data: Bytes, is_binary_att: bool) -> Result<()> { method base_url (line 100) | async fn base_url(&self) -> Result { method set_base_url (line 104) | async fn set_base_url(&self, base_url: Url) -> Result<()> { method fmt (line 119) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function new (line 138) | async fn new() -> Result { function websocket_secure_transport_base_url (line 151) | async fn websocket_secure_transport_base_url() -> Result<()> { function websocket_secure_debug (line 183) | async fn websocket_secure_debug() -> Result<()> { FILE: engineio/src/asynchronous/callback.rs type DynAsyncCallback (line 8) | pub(crate) type DynAsyncCallback = dyn 'static + Send + Sync + Fn(I) ... type OptionalCallback (line 12) | pub(crate) struct OptionalCallback { function new (line 17) | pub(crate) fn new(callback: T) -> Self function default (line 26) | pub(crate) fn default() -> Self { method fmt (line 33) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::result::Result<()... method fmt (line 47) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::result::Result<()... method fmt (line 61) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::result::Result<()... method fmt (line 75) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::result::Result<()... type Target (line 88) | type Target = Option>>; method deref (line 89) | fn deref(&self) -> &::Target { FILE: engineio/src/asynchronous/client/async_client.rs type Client (line 19) | pub struct Client { method new (line 25) | pub(super) fn new(socket: InnerSocket) -> Self { method close (line 32) | pub async fn close(&self) -> Result<()> { method connect (line 38) | pub async fn connect(&self) -> Result<()> { method disconnect (line 43) | pub async fn disconnect(&self) -> Result<()> { method emit (line 48) | pub async fn emit(&self, packet: Packet) -> Result<()> { method stream (line 53) | fn stream( method is_connected (line 67) | pub fn is_connected(&self) -> bool { type Item (line 73) | type Item = Result; method poll_next (line 75) | fn poll_next( method fmt (line 84) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function test_client_cloneable (line 106) | async fn test_client_cloneable() -> Result<()> { function test_illegal_actions (line 143) | async fn test_illegal_actions() -> Result<()> { function builder (line 170) | fn builder(url: Url) -> ClientBuilder { function test_connection (line 199) | async fn test_connection(socket: Client) -> Result<()> { function test_connection_long (line 226) | async fn test_connection_long() -> Result<()> { function test_connection_dynamic (line 258) | async fn test_connection_dynamic() -> Result<()> { function test_connection_fallback (line 269) | async fn test_connection_fallback() -> Result<()> { function test_connection_dynamic_secure (line 280) | async fn test_connection_dynamic_secure() -> Result<()> { function test_connection_polling (line 289) | async fn test_connection_polling() -> Result<()> { function test_connection_wss (line 296) | async fn test_connection_wss() -> Result<()> { function test_connection_ws (line 333) | async fn test_connection_ws() -> Result<()> { function test_open_invariants (line 360) | async fn test_open_invariants() -> Result<()> { FILE: engineio/src/asynchronous/client/builder.rs type ClientBuilder (line 21) | pub struct ClientBuilder { method new (line 34) | pub fn new(url: Url) -> Self { method tls_config (line 57) | pub fn tls_config(mut self, tls_config: TlsConnector) -> Self { method headers (line 63) | pub fn headers(mut self, headers: HeaderMap) -> Self { method on_close (line 70) | pub fn on_close(mut self, callback: T) -> Self method on_data (line 80) | pub fn on_data(mut self, callback: T) -> Self method on_error (line 90) | pub fn on_error(mut self, callback: T) -> Self method on_open (line 100) | pub fn on_open(mut self, callback: T) -> Self method on_packet (line 110) | pub fn on_packet(mut self, callback: T) -> Self method handshake_with_transport (line 119) | async fn handshake_with_transport( method handshake (line 144) | async fn handshake(&mut self) -> Result<()> { method build (line 163) | pub async fn build(mut self) -> Result { method build_polling (line 174) | pub async fn build_polling(mut self) -> Result { method build_websocket_with_upgrade (line 197) | pub async fn build_websocket_with_upgrade(mut self) -> Result { method build_websocket (line 208) | pub async fn build_websocket(mut self) -> Result { method build_with_fallback (line 267) | pub async fn build_with_fallback(self) -> Result { method websocket_upgrade (line 277) | fn websocket_upgrade(&mut self) -> Result { FILE: engineio/src/asynchronous/generator.rs type Generator (line 9) | pub(crate) type Generator = Pin + 'static + ... type StreamGenerator (line 14) | pub(crate) struct StreamGenerator { type Item (line 19) | type Item = Result; method poll_next (line 21) | fn poll_next( function new (line 31) | pub(crate) fn new(generator_stream: Generator>) -> Self { FILE: engineio/src/asynchronous/transport.rs type AsyncTransport (line 12) | pub trait AsyncTransport: Stream> + Unpin { method emit (line 15) | async fn emit(&self, data: Bytes, is_binary_att: bool) -> Result<()>; method base_url (line 19) | async fn base_url(&self) -> Result; method set_base_url (line 22) | async fn set_base_url(&self, base_url: Url) -> Result<()>; method address (line 25) | async fn address(&self) -> Result type AsyncTransportType (line 38) | pub enum AsyncTransportType { method from (line 45) | fn from(transport: PollingTransport) -> Self { method from (line 51) | fn from(transport: WebsocketTransport) -> Self { method from (line 57) | fn from(transport: WebsocketSecureTransport) -> Self { method as_transport (line 64) | pub fn as_transport(&self) -> &(dyn AsyncTransport + Send) { method as_pin_box (line 72) | pub fn as_pin_box(&mut self) -> Pin = dyn Fn(I) + 'static + Sync + Send; type OptionalCallback (line 11) | pub(crate) struct OptionalCallback { function new (line 16) | pub(crate) fn new(callback: T) -> Self function default (line 25) | pub(crate) fn default() -> Self { method fmt (line 34) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::result::Result<()... method fmt (line 48) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::result::Result<()... method fmt (line 62) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::result::Result<()... method fmt (line 76) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::result::Result<()... type Target (line 89) | type Target = Option>>; method deref (line 90) | fn deref(&self) -> &::Target { FILE: engineio/src/client/client.rs type Client (line 26) | pub struct Client { method close (line 291) | pub fn close(&self) -> Result<()> { method connect (line 297) | pub fn connect(&self) -> Result<()> { method disconnect (line 302) | pub fn disconnect(&self) -> Result<()> { method emit (line 307) | pub fn emit(&self, packet: Packet) -> Result<()> { method poll (line 313) | pub fn poll(&self) -> Result> { method is_connected (line 352) | pub fn is_connected(&self) -> Result { method iter (line 356) | pub fn iter(&self) -> Iter { type ClientBuilder (line 31) | pub struct ClientBuilder { method new (line 44) | pub fn new(url: Url) -> Self { method tls_config (line 67) | pub fn tls_config(mut self, tls_config: TlsConnector) -> Self { method headers (line 73) | pub fn headers(mut self, headers: HeaderMap) -> Self { method on_close (line 79) | pub fn on_close(mut self, callback: T) -> Self method on_data (line 88) | pub fn on_data(mut self, callback: T) -> Self method on_error (line 97) | pub fn on_error(mut self, callback: T) -> Self method on_open (line 106) | pub fn on_open(mut self, callback: T) -> Self method on_packet (line 115) | pub fn on_packet(mut self, callback: T) -> Self method handshake_with_transport (line 124) | fn handshake_with_transport(&mut self, transport: &T) ->... method handshake (line 145) | fn handshake(&mut self) -> Result<()> { method build (line 161) | pub fn build(mut self) -> Result { method build_polling (line 172) | pub fn build_polling(mut self) -> Result { method build_websocket_with_upgrade (line 197) | pub fn build_websocket_with_upgrade(mut self) -> Result { method build_websocket (line 208) | pub fn build_websocket(mut self) -> Result { method build_with_fallback (line 268) | pub fn build_with_fallback(self) -> Result { method websocket_upgrade (line 278) | fn websocket_upgrade(&mut self) -> Result { type Iter (line 362) | pub struct Iter<'a> { type Item (line 367) | type Item = Result; method next (line 368) | fn next(&mut self) -> std::option::Option<:... function test_client_cloneable (line 389) | fn test_client_cloneable() -> Result<()> { function test_illegal_actions (line 436) | fn test_illegal_actions() -> Result<()> { function builder (line 458) | fn builder(url: Url) -> ClientBuilder { function test_connection (line 477) | fn test_connection(socket: Client) -> Result<()> { function test_connection_long (line 505) | fn test_connection_long() -> Result<()> { function test_connection_dynamic (line 526) | fn test_connection_dynamic() -> Result<()> { function test_connection_fallback (line 537) | fn test_connection_fallback() -> Result<()> { function test_connection_dynamic_secure (line 548) | fn test_connection_dynamic_secure() -> Result<()> { function test_connection_polling (line 557) | fn test_connection_polling() -> Result<()> { function test_connection_wss (line 564) | fn test_connection_wss() -> Result<()> { function test_connection_ws (line 601) | fn test_connection_ws() -> Result<()> { function test_open_invariants (line 628) | fn test_open_invariants() -> Result<()> { FILE: engineio/src/error.rs type Error (line 14) | pub enum Error { method from (line 62) | fn from(_: std::sync::PoisonError) -> Self { type Result (line 59) | pub(crate) type Result = std::result::Result; function from (line 68) | fn from(err: Error) -> std::io::Error { function test_error_conversion (line 81) | fn test_error_conversion() { FILE: engineio/src/header.rs type HeaderName (line 13) | pub struct HeaderName { method from (line 38) | fn from(string: String) -> Self { method from (line 55) | fn from(header: HttpHeaderName) -> Self { type HeaderValue (line 18) | pub struct HeaderValue { method from (line 61) | fn from(string: String) -> Self { method from (line 78) | fn from(value: HttpHeaderValue) -> Self { method from (line 86) | fn from(string: &str) -> Self { type HeaderMap (line 23) | pub struct HeaderMap { method new (line 119) | pub fn new() -> Self { method insert (line 125) | pub fn insert, U: Into>( type IntoIter (line 27) | pub struct IntoIter { method fmt (line 32) | fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult { type Error (line 46) | type Error = Error; method try_from (line 47) | fn try_from( type Error (line 69) | type Error = Error; method try_from (line 70) | fn try_from( type Error (line 92) | type Error = Error; method try_from (line 93) | fn try_from( type Item (line 109) | type Item = (HeaderName, HeaderValue); type IntoIter (line 110) | type IntoIter = IntoIter; method into_iter (line 111) | fn into_iter(self) -> ::IntoIter { type Item (line 135) | type Item = (HeaderName, HeaderValue); method next (line 136) | fn next(&mut self) -> std::option::Option<:... FILE: engineio/src/lib.rs constant ENGINE_IO_VERSION (line 92) | pub const ENGINE_IO_VERSION: i32 = 4; constant CERT_PATH (line 106) | const CERT_PATH: &str = "../ci/cert/ca.crt"; function tls_connector (line 111) | pub(crate) fn tls_connector() -> error::Result { constant SERVER_URL (line 125) | const SERVER_URL: &str = "http://localhost:4201"; constant SERVER_POLLING_URL (line 127) | const SERVER_POLLING_URL: &str = "http://localhost:4203"; constant SERVER_URL_SECURE (line 128) | const SERVER_URL_SECURE: &str = "https://localhost:4202"; function engine_io_server (line 131) | pub(crate) fn engine_io_server() -> crate::error::Result { function engine_io_polling_server (line 136) | pub(crate) fn engine_io_polling_server() -> crate::error::Result { function engine_io_server_secure (line 142) | pub(crate) fn engine_io_server_secure() -> crate::error::Result { FILE: engineio/src/packet.rs type PacketId (line 13) | pub enum PacketId { method to_string_byte (line 27) | fn to_string_byte(self) -> u8 { type Error (line 57) | type Error = Error; method try_from (line 59) | fn try_from(b: u8) -> Result { method fmt (line 36) | fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult { function from (line 42) | fn from(packet_id: PacketId) -> Self { type Packet (line 75) | pub struct Packet { method new (line 100) | pub fn new>(packet_id: PacketId, data: T) -> Self { type Error (line 109) | type Error = Error; method try_from (line 111) | fn try_from( type HandshakePacket (line 82) | pub struct HandshakePacket { type Error (line 92) | type Error = Error; method try_from (line 93) | fn try_from(packet: Packet) -> Result { method from (line 146) | fn from(packet: Packet) -> Self { type Payload (line 159) | pub(crate) struct Payload(Vec); constant SEPARATOR (line 163) | const SEPARATOR: char = '\x1e'; method len (line 166) | pub fn len(&self) -> usize { type Error (line 172) | type Error = Error; method try_from (line 175) | fn try_from(payload: Bytes) -> Result { type Output (line 226) | type Output = Packet; method index (line 227) | fn index(&self, index: usize) -> &Packet { type Error (line 185) | type Error = Error; method try_from (line 189) | fn try_from(packets: Payload) -> Result { type IntoIter (line 204) | pub struct IntoIter { type Item (line 209) | type Item = Packet; method next (line 210) | fn next(&mut self) -> std::option::Option<:... type Item (line 216) | type Item = Packet; type IntoIter (line 217) | type IntoIter = IntoIter; method into_iter (line 218) | fn into_iter(self) -> ::IntoIter { function test_packet_error (line 237) | fn test_packet_error() { function test_is_reflexive (line 243) | fn test_is_reflexive() { function test_binary_packet (line 255) | fn test_binary_packet() { function test_decode_payload (line 267) | fn test_decode_payload() -> Result<()> { function test_binary_payload (line 283) | fn test_binary_payload() { function test_packet_id_conversion_and_incompl_packet (line 299) | fn test_packet_id_conversion_and_incompl_packet() -> Result<()> { function test_handshake_packet (line 343) | fn test_handshake_packet() { FILE: engineio/src/socket.rs constant DEFAULT_MAX_POLL_TIMEOUT (line 19) | pub const DEFAULT_MAX_POLL_TIMEOUT: Duration = Duration::from_secs(45); type Socket (line 24) | pub struct Socket { method new (line 41) | pub(crate) fn new( method connect (line 70) | pub fn connect(&self) -> Result<()> { method disconnect (line 87) | pub fn disconnect(&self) -> Result<()> { method emit (line 101) | pub fn emit(&self, packet: Packet) -> Result<()> { method poll (line 127) | pub(crate) fn poll(&self) -> Result> { method call_error_callback (line 166) | fn call_error_callback(&self, text: String) { method is_connected (line 173) | pub(crate) fn is_connected(&self) -> Result { method pinged (line 177) | pub(crate) fn pinged(&self) -> Result<()> { method time_to_next_ping (line 185) | fn time_to_next_ping(&self) -> Result { method handle_packet (line 199) | pub(crate) fn handle_packet(&self, packet: Packet) { method handle_data (line 205) | pub(crate) fn handle_data(&self, data: Bytes) { method handle_close (line 211) | pub(crate) fn handle_close(&self) { method fmt (line 222) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { FILE: engineio/src/transport.rs type Transport (line 8) | pub trait Transport { method emit (line 11) | fn emit(&self, data: Bytes, is_binary_att: bool) -> Result<()>; method poll (line 16) | fn poll(&self, timeout: Duration) -> Result; method base_url (line 20) | fn base_url(&self) -> Result; method set_base_url (line 23) | fn set_base_url(&self, base_url: Url) -> Result<()>; method address (line 26) | fn address(&self) -> Result { type TransportType (line 36) | pub enum TransportType { method from (line 43) | fn from(transport: PollingTransport) -> Self { method from (line 49) | fn from(transport: WebsocketSecureTransport) -> Self { method from (line 55) | fn from(transport: WebsocketTransport) -> Self { method as_transport (line 61) | pub fn as_transport(&self) -> &dyn Transport { function fmt (line 71) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { FILE: engineio/src/transports/polling.rs type PollingTransport (line 15) | pub struct PollingTransport { method new (line 22) | pub fn new( method emit (line 52) | fn emit(&self, data: Bytes, is_binary_att: bool) -> Result<()> { method poll (line 81) | fn poll(&self, timeout: Duration) -> Result { method base_url (line 90) | fn base_url(&self) -> Result { method set_base_url (line 94) | fn set_base_url(&self, base_url: Url) -> Result<()> { function polling_transport_base_url (line 112) | fn polling_transport_base_url() -> Result<()> { function transport_debug (line 136) | fn transport_debug() -> Result<()> { FILE: engineio/src/transports/websocket.rs type WebsocketTransport (line 16) | pub struct WebsocketTransport { method new (line 23) | pub fn new(base_url: Url, headers: Option) -> Result { method upgrade (line 38) | pub(crate) fn upgrade(&self) -> Result<()> { method fmt (line 73) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { method emit (line 44) | fn emit(&self, data: Bytes, is_binary_att: bool) -> Result<()> { method poll (line 49) | fn poll(&self, timeout: Duration) -> Result { method base_url (line 62) | fn base_url(&self) -> Result { method set_base_url (line 66) | fn set_base_url(&self, url: url::Url) -> Result<()> { constant TIMEOUT_DURATION (line 87) | const TIMEOUT_DURATION: Duration = Duration::from_secs(45); function new (line 89) | fn new() -> Result { function websocket_transport_base_url (line 97) | fn websocket_transport_base_url() -> Result<()> { function websocket_secure_debug (line 125) | fn websocket_secure_debug() -> Result<()> { FILE: engineio/src/transports/websocket_secure.rs type WebsocketSecureTransport (line 18) | pub struct WebsocketSecureTransport { method new (line 25) | pub fn new( method upgrade (line 46) | pub(crate) fn upgrade(&self) -> Result<()> { method fmt (line 81) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { method emit (line 52) | fn emit(&self, data: Bytes, is_binary_att: bool) -> Result<()> { method poll (line 57) | fn poll(&self, timeout: Duration) -> Result { method base_url (line 70) | fn base_url(&self) -> Result { method set_base_url (line 74) | fn set_base_url(&self, url: url::Url) -> Result<()> { function new (line 94) | fn new() -> Result { function websocket_secure_transport_base_url (line 106) | fn websocket_secure_transport_base_url() -> Result<()> { function websocket_secure_debug (line 134) | fn websocket_secure_debug() -> Result<()> { FILE: socketio/examples/async.rs function main (line 10) | async fn main() { FILE: socketio/examples/callback.rs function handle_foo (line 4) | fn handle_foo(payload: Payload, socket: RawClient) -> () { function main (line 8) | fn main() { FILE: socketio/examples/readme.rs function main (line 5) | fn main() { FILE: socketio/examples/secure.rs function main (line 7) | fn main() { FILE: socketio/src/asynchronous/client/ack.rs type Ack (line 13) | pub(crate) struct Ack { FILE: socketio/src/asynchronous/client/builder.rs type ClientBuilder (line 25) | pub struct ClientBuilder { method new (line 83) | pub fn new>(address: T) -> Self { method namespace (line 107) | pub fn namespace>(mut self, namespace: T) -> Self { method on (line 187) | pub fn on, F>(mut self, event: T, callback: F) -> Self method on_reconnect (line 225) | pub fn on_reconnect(mut self, callback: F) -> Self method on_any (line 258) | pub fn on_any(mut self, callback: F) -> Self method tls_config (line 289) | pub fn tls_config(mut self, tls_config: TlsConnector) -> Self { method opening_header (line 312) | pub fn opening_header, K: Into>(mut self,... method auth (line 343) | pub fn auth>(mut self, auth: T) -> Self { method transport_type (line 365) | pub fn transport_type(mut self, transport_type: TransportType) -> Self { method reconnect (line 373) | pub fn reconnect(mut self, reconnect: bool) -> Self { method reconnect_on_disconnect (line 380) | pub fn reconnect_on_disconnect(mut self, reconnect_on_disconnect: bool... method reconnect_delay (line 386) | pub fn reconnect_delay(mut self, min: u64, max: u64) -> Self { method max_reconnect_attempts (line 394) | pub fn max_reconnect_attempts(mut self, reconnect_attempts: u8) -> Self { method connect (line 426) | pub async fn connect(self) -> Result { method inner_create (line 434) | pub(crate) async fn inner_create(&self) -> Result { method connect_manual (line 462) | pub(crate) async fn connect_manual(self) -> Result { FILE: socketio/src/asynchronous/client/callback.rs type DynAsyncCallback (line 12) | pub(crate) type DynAsyncCallback = type DynAsyncAnyCallback (line 15) | pub(crate) type DynAsyncAnyCallback = Box< type DynAsyncReconnectSettingsCallback (line 19) | pub(crate) type DynAsyncReconnectSettingsCallback = type Callback (line 22) | pub(crate) struct Callback { method fmt (line 27) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Target (line 33) | type Target = method deref (line 36) | fn deref(&self) -> &Self::Target { method deref_mut (line 42) | fn deref_mut(&mut self) -> &mut Self::Target { function new (line 48) | pub(crate) fn new(callback: T) -> Self type Target (line 59) | type Target = method deref (line 62) | fn deref(&self) -> &Self::Target { method deref_mut (line 68) | fn deref_mut(&mut self) -> &mut Self::Target { function new (line 74) | pub(crate) fn new(callback: T) -> Self type Target (line 85) | type Target = method deref (line 88) | fn deref(&self) -> &Self::Target { method deref_mut (line 94) | fn deref_mut(&mut self) -> &mut Self::Target { function new (line 100) | pub(crate) fn new(callback: T) -> Self FILE: socketio/src/asynchronous/client/client.rs type DisconnectReason (line 27) | enum DisconnectReason { type ReconnectSettings (line 39) | pub struct ReconnectSettings { method new (line 46) | pub fn new() -> Self { method address (line 51) | pub fn address(&mut self, address: T) -> &mut Self method auth (line 60) | pub fn auth(&mut self, auth: serde_json::Value) { method opening_header (line 66) | pub fn opening_header, K: Into>( type Client (line 82) | pub struct Client { method new (line 99) | pub(crate) fn new(socket: InnerSocket, builder: ClientBuilder) -> Resu... method connect (line 112) | pub(crate) async fn connect(&self) -> Result<()> { method reconnect (line 125) | pub(crate) async fn reconnect(&mut self) -> Result<()> { method poll_stream (line 160) | pub(crate) async fn poll_stream(&mut self) -> Result<()> { method emit (line 276) | pub async fn emit(&self, event: E, data: D) -> Result<()> method disconnect (line 321) | pub async fn disconnect(&self) -> Result<()> { method emit_with_ack (line 381) | pub async fn emit_with_ack( method callback (line 413) | async fn callback>(&self, event: &Event, payload: P) ... method handle_ack (line 436) | async fn handle_ack(&self, socket_packet: &Packet) -> Result<()> { method handle_binary_event (line 474) | async fn handle_binary_event(&self, packet: &Packet) -> Result<()> { method handle_event (line 492) | async fn handle_event(&self, packet: &Packet) -> Result<()> { method handle_socketio_packet (line 527) | async fn handle_socketio_packet(&self, packet: &Packet) -> Result<()> { method as_stream (line 572) | pub(crate) async fn as_stream<'a>( function socket_io_integration (line 632) | async fn socket_io_integration() -> Result<()> { function socket_io_async_callback (line 687) | async fn socket_io_async_callback() -> Result<()> { function socket_io_builder_integration (line 722) | async fn socket_io_builder_integration() -> Result<()> { function socket_io_reconnect_integration (line 774) | async fn socket_io_reconnect_integration() -> Result<()> { function socket_io_builder_integration_iterator (line 881) | async fn socket_io_builder_integration_iterator() -> Result<()> { function socket_io_on_any_integration (line 930) | async fn socket_io_on_any_integration() -> Result<()> { function socket_io_auth_builder_integration (line 961) | async fn socket_io_auth_builder_integration() -> Result<()> { function socket_io_transport_close (line 991) | async fn socket_io_transport_close() -> Result<()> { function socketio_polling_integration (line 1035) | async fn socketio_polling_integration() -> Result<()> { function socket_io_websocket_integration (line 1045) | async fn socket_io_websocket_integration() -> Result<()> { function socket_io_websocket_upgrade_integration (line 1055) | async fn socket_io_websocket_upgrade_integration() -> Result<()> { function socket_io_any_integration (line 1065) | async fn socket_io_any_integration() -> Result<()> { function test_socketio_socket (line 1074) | async fn test_socketio_socket(socket: Client, nsp: String) -> Result<()> { function load (line 1255) | fn load(num: &AtomicUsize) -> usize { FILE: socketio/src/asynchronous/generator.rs type Generator (line 9) | pub(crate) type Generator = Pin + 'static + ... type StreamGenerator (line 14) | pub(crate) struct StreamGenerator { type Item (line 19) | type Item = Result; method poll_next (line 21) | fn poll_next( function new (line 31) | pub(crate) fn new(generator_stream: Generator>) -> Self { FILE: socketio/src/asynchronous/socket.rs type Socket (line 23) | pub(crate) struct Socket { method new (line 31) | pub(super) fn new(engine_client: EngineClient) -> Result { method connect (line 42) | pub async fn connect(&self) -> Result<()> { method disconnect (line 54) | pub async fn disconnect(&self) -> Result<()> { method send (line 65) | pub async fn send(&self, packet: Packet) -> Result<()> { method emit (line 86) | pub async fn emit(&self, nsp: &str, event: Event, data: Payload) -> Re... method stream (line 92) | fn stream( method handle_socketio_packet (line 114) | fn handle_socketio_packet(socket_packet: &Packet, is_connected: Arc bool { type Item (line 170) | type Item = Result; method poll_next (line 172) | fn poll_next( method fmt (line 181) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: socketio/src/client/builder.rs type TransportType (line 19) | pub enum TransportType { type ClientBuilder (line 35) | pub struct ClientBuilder { method new (line 85) | pub fn new>(address: T) -> Self { method namespace (line 106) | pub fn namespace>(mut self, namespace: T) -> Self { method reconnect (line 115) | pub fn reconnect(mut self, reconnect: bool) -> Self { method reconnect_on_disconnect (line 132) | pub fn reconnect_on_disconnect(mut self, reconnect_on_disconnect: bool... method reconnect_delay (line 137) | pub fn reconnect_delay(mut self, min: u64, max: u64) -> Self { method max_reconnect_attempts (line 144) | pub fn max_reconnect_attempts(mut self, reconnect_attempts: u8) -> Self { method on (line 173) | pub fn on, F>(mut self, event: T, callback: F) -> Self method on_any (line 201) | pub fn on_any(mut self, callback: F) -> Self method tls_config (line 230) | pub fn tls_config(mut self, tls_config: TlsConnector) -> Self { method opening_header (line 250) | pub fn opening_header, K: Into>(mut self,... method auth (line 278) | pub fn auth(mut self, auth: serde_json::Value) -> Self { method transport_type (line 303) | pub fn transport_type(mut self, transport_type: TransportType) -> Self { method connect (line 332) | pub fn connect(self) -> Result { method connect_raw (line 336) | pub fn connect_raw(self) -> Result { FILE: socketio/src/client/callback.rs type SocketCallback (line 9) | pub(crate) type SocketCallback = Box { method fmt (line 19) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Target (line 25) | type Target = dyn FnMut(Payload, RawClient) + 'static + Send; method deref (line 27) | fn deref(&self) -> &Self::Target { method deref_mut (line 33) | fn deref_mut(&mut self) -> &mut Self::Target { function new (line 39) | pub(crate) fn new(callback: T) -> Self method fmt (line 52) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Target (line 58) | type Target = dyn FnMut(Event, Payload, RawClient) + 'static + Send; method deref (line 60) | fn deref(&self) -> &Self::Target { method deref_mut (line 66) | fn deref_mut(&mut self) -> &mut Self::Target { function new (line 72) | pub(crate) fn new(callback: T) -> Self FILE: socketio/src/client/client.rs type Client (line 17) | pub struct Client { method new (line 24) | pub(crate) fn new(builder: ClientBuilder) -> Result { method set_reconnect_url (line 44) | pub fn set_reconnect_url>(&self, address: T) -> Result... method emit (line 74) | pub fn emit(&self, event: E, data: D) -> Result<()> method emit_with_ack (line 121) | pub fn emit_with_ack( method disconnect (line 163) | pub fn disconnect(&self) -> Result<()> { method reconnect (line 168) | fn reconnect(&mut self) -> Result<()> { method do_reconnect (line 197) | fn do_reconnect(&self) -> Result<()> { method iter (line 206) | pub(crate) fn iter(&self) -> Iter { method poll_callback (line 212) | fn poll_callback(&self) { type Iter (line 245) | pub(crate) struct Iter { type Item (line 250) | type Item = Result; method next (line 252) | fn next(&mut self) -> Option { function socket_io_reconnect_integration (line 287) | fn socket_io_reconnect_integration() -> Result<()> { function socket_io_reconnect_url_auth_integration (line 348) | fn socket_io_reconnect_url_auth_integration() -> Result<()> { function socket_io_iterator_integration (line 422) | fn socket_io_iterator_integration() -> Result<()> { function load (line 475) | fn load(num: &AtomicUsize) -> usize { FILE: socketio/src/client/raw_client.rs type Ack (line 23) | pub struct Ack { type RawClient (line 34) | pub struct RawClient { method new (line 51) | pub(crate) fn new>( method connect (line 71) | pub(crate) fn connect(&self) -> Result<()> { method emit (line 111) | pub fn emit(&self, event: E, data: D) -> Result<()> method disconnect (line 144) | pub fn disconnect(&self) -> Result<()> { method emit_with_ack (line 194) | pub fn emit_with_ack( method poll (line 224) | pub(crate) fn poll(&self) -> Result> { method iter (line 245) | pub(crate) fn iter(&self) -> Iter { method callback (line 249) | fn callback>(&self, event: &Event, payload: P) -> Res... method handle_ack (line 275) | fn handle_ack(&self, socket_packet: &Packet) -> Result<()> { method handle_binary_event (line 310) | fn handle_binary_event(&self, packet: &Packet) -> Result<()> { method handle_event (line 327) | fn handle_event(&self, packet: &Packet) -> Result<()> { method handle_socketio_packet (line 361) | fn handle_socketio_packet(&self, packet: &Packet) -> Result<()> { type Iter (line 402) | pub struct Iter<'a> { type Item (line 407) | type Item = Result; method next (line 408) | fn next(&mut self) -> std::option::Option<:... function socket_io_integration (line 430) | fn socket_io_integration() -> Result<()> { function socket_io_builder_integration (line 475) | fn socket_io_builder_integration() -> Result<()> { function socket_io_builder_integration_iterator (line 516) | fn socket_io_builder_integration_iterator() -> Result<()> { function socket_io_on_any_integration (line 555) | fn socket_io_on_any_integration() -> Result<()> { function socket_io_auth_builder_integration (line 588) | fn socket_io_auth_builder_integration() -> Result<()> { function socketio_polling_integration (line 622) | fn socketio_polling_integration() -> Result<()> { function socket_io_websocket_integration (line 631) | fn socket_io_websocket_integration() -> Result<()> { function socket_io_websocket_upgrade_integration (line 640) | fn socket_io_websocket_upgrade_integration() -> Result<()> { function socket_io_any_integration (line 649) | fn socket_io_any_integration() -> Result<()> { function test_socketio_socket (line 657) | fn test_socketio_socket(socket: RawClient, nsp: String) -> Result<()> { FILE: socketio/src/error.rs type Error (line 14) | pub enum Error { method from (line 54) | fn from(_: std::sync::PoisonError) -> Self { type Result (line 51) | pub(crate) type Result = std::result::Result; function from (line 60) | fn from(err: Error) -> std::io::Error { function test_error_conversion (line 73) | fn test_error_conversion() { FILE: socketio/src/event.rs type Event (line 5) | pub enum Event { method as_str (line 14) | pub fn as_str(&self) -> &str { method from (line 26) | fn from(string: String) -> Self { method from (line 38) | fn from(string: &str) -> Self { method from (line 44) | fn from(event: Event) -> Self { method fmt (line 56) | fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult { type CloseReason (line 66) | pub enum CloseReason { method as_str (line 73) | pub fn as_str(&self) -> &str { method from (line 85) | fn from(event: CloseReason) -> Self { method fmt (line 91) | fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult { FILE: socketio/src/lib.rs constant SERVER_URL (line 207) | const SERVER_URL: &str = "http://localhost:4200"; function socket_io_server (line 209) | pub(crate) fn socket_io_server() -> Url { constant AUTH_SERVER_URL (line 221) | const AUTH_SERVER_URL: &str = "http://localhost:4204"; function socket_io_auth_server (line 223) | pub(crate) fn socket_io_auth_server() -> Url { constant RESTART_SERVER_URL (line 236) | const RESTART_SERVER_URL: &str = "http://localhost:4205"; function socket_io_restart_server (line 238) | pub(crate) fn socket_io_restart_server() -> Url { constant RESTART_URL_AUTH_SERVER_URL (line 251) | const RESTART_URL_AUTH_SERVER_URL: &str = "http://localhost:4206"; function socket_io_restart_url_auth_server (line 253) | pub(crate) fn socket_io_restart_url_auth_server() -> Url { FILE: socketio/src/packet.rs type PacketId (line 12) | pub enum PacketId { type Error (line 107) | type Error = Error; method try_from (line 108) | fn try_from(b: u8) -> Result { type Error (line 114) | type Error = Error; method try_from (line 115) | fn try_from(b: char) -> Result { type Packet (line 24) | pub struct Packet { method new_from_payload (line 37) | pub(crate) fn new_from_payload<'a>( method new (line 131) | pub const fn new( type Error (line 203) | type Error = Error; method try_from (line 204) | fn try_from(value: Bytes) -> Result { type Error (line 210) | type Error = Error; method try_from (line 218) | fn try_from(payload: &Bytes) -> Result { method default (line 94) | fn default() -> Self { method from (line 151) | fn from(packet: Packet) -> Self { method from (line 160) | fn from(packet: &Packet) -> Bytes { function test_decode (line 287) | fn test_decode() { function test_encode (line 456) | fn test_encode() { function test_illegal_packet_id (line 606) | fn test_illegal_packet_id() { function new_from_payload_binary (line 612) | fn new_from_payload_binary() { function new_from_payload_string (line 632) | fn new_from_payload_string() { function new_from_payload_json (line 655) | fn new_from_payload_json() { FILE: socketio/src/payload.rs type Payload (line 9) | pub enum Payload { method string_to_value (line 18) | pub(crate) fn string_to_value(string: String) -> serde_json::Value { method from (line 28) | fn from(string: &str) -> Self { method from (line 34) | fn from(string: String) -> Self { method from (line 40) | fn from(arr: Vec) -> Self { method from (line 46) | fn from(values: Vec) -> Self { method from (line 52) | fn from(value: serde_json::Value) -> Self { method from (line 58) | fn from(val: Vec) -> Self { method from (line 64) | fn from(val: &'static [u8]) -> Self { method from (line 70) | fn from(bytes: Bytes) -> Self { function test_from_string (line 82) | fn test_from_string() { function test_from_multiple_strings (line 104) | fn test_from_multiple_strings() { function test_from_multiple_json (line 122) | fn test_from_multiple_json() { function test_from_json (line 129) | fn test_from_json() { function test_from_binary (line 144) | fn test_from_binary() { FILE: socketio/src/socket.rs type Socket (line 13) | pub(crate) struct Socket { method new (line 22) | pub(super) fn new(engine_client: EngineClient) -> Result { method connect (line 31) | pub fn connect(&self) -> Result<()> { method disconnect (line 43) | pub fn disconnect(&self) -> Result<()> { method send (line 54) | pub fn send(&self, packet: Packet) -> Result<()> { method emit (line 75) | pub fn emit(&self, nsp: &str, event: Event, data: Payload) -> Result<(... method poll (line 81) | pub(crate) fn poll(&self) -> Result> { method handle_socketio_packet (line 105) | fn handle_socketio_packet(&self, socket_packet: &Packet) { method handle_engineio_packet (line 121) | fn handle_engineio_packet(&self, packet: EnginePacket) -> Result Result {