1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-webrtc/src/shared_transport.rs
Items
type SessionId enum Outbound trait PolledSession struct SessionSlot struct TransportInner struct ThreadCtx struct SharedTransport const WORKER_IDLE_SLEEP const MAX_SERVICE_GAP impl SharedTransport impl Drop for SharedTransport struct FakeSession impl PolledSession for FakeSession struct Probe
Functions
By call-graph weight (PageRank; 1.0 is the average function). 25 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| destination_forsrc/shared_transport.rs:122 | fn | 11 | 3 | 3 | 0 | 1.6 | |
| SharedTransport::spawnsrc/shared_transport.rs:220 | method | 45 | 2 | 1 | 4 | 1.4 | |
| SharedTransport::registersrc/shared_transport.rs:277 | method | 8 | 2 | 5 | 0 | 1 | |
| fakesrc/shared_transport.rs:355 | fn | 10 | 1 | 5 | 0 | 1 | |
| transportsrc/shared_transport.rs:366 | fn | 4 | 1 | 5 | 1 | 1 | |
| SharedTransport::stopsrc/shared_transport.rs:299 | method | 3 | 1 | 1 | 0 | 0.9 | |
| SharedTransport::session_countsrc/shared_transport.rs:294 | method | 3 | 1 | 3 | 0 | 0.8 | |
| read_loopsrc/shared_transport.rs:135 | fn | 27 | 6 | 1 | 3 | 0.8 | |
| service_loopsrc/shared_transport.rs:164 | fn | 50 | 12 | 1 | 0 | 0.8 | |
| eventuallysrc/shared_transport.rs:373 | fn | 10 | 3 | 2 | 0 | 0.7 | |
| SharedTransport::local_addrsrc/shared_transport.rs:266 | method | 3 | 1 | 0 | 0 | 0.5 | |
| SharedTransport::local_candidatessrc/shared_transport.rs:270 | method | 3 | 1 | 0 | 0 | 0.5 | |
| SharedTransport::removesrc/shared_transport.rs:287 | method | 6 | 2 | 0 | 0 | 0.5 | |
| SharedTransport::dropsrc/shared_transport.rs:305 | trait impl | 8 | 3 | 0 | 1 | 0.5 | |
| FakeSession::handle_inputsrc/shared_transport.rs:329 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| FakeSession::servicesrc/shared_transport.rs:333 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| FakeSession::poll_outboundsrc/shared_transport.rs:337 | trait impl | 7 | 2 | 0 | 0 | 0.5 | |
| FakeSession::is_disconnectedsrc/shared_transport.rs:345 | trait impl | 3 | 2 | 0 | 0 | 0.5 | |
| one_port_serves_many_sessionssrc/shared_transport.rs:385 | fn | 12 | 1 | 0 | 4 | 0.5 | |
| removing_a_session_clears_it_from_the_demux_toosrc/shared_transport.rs:399 | fn | 10 | 1 | 0 | 4 | 0.5 | |
| workers_service_registered_sessionssrc/shared_transport.rs:411 | fn | 8 | 1 | 0 | 4 | 0.5 | |
| a_disconnected_session_is_reclaimed_without_being_removed_by_handsrc/shared_transport.rs:421 | fn | 5 | 1 | 0 | 5 | 0.5 | |
| a_concrete_bind_always_answers_with_itselfsrc/shared_transport.rs:428 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| a_wildcard_bind_picks_a_locality_matching_candidatesrc/shared_transport.rs:436 | fn | 12 | 1 | 0 | 1 | 0.5 | |
| dropping_the_transport_stops_its_threadssrc/shared_transport.rs:452 | fn | 5 | 1 | 0 | 3 | 0.5 |
Source not readable from this process.