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-app-device/src/gcode_stream/port.rs
Items
const DEFAULT_TCP_PORT const TCP_CONNECT_TIMEOUT const TCP_WRITE_TIMEOUT const GRBL_READ_TIMEOUT_MS const READ_CHUNK enum Transport impl Transport struct PortSpec struct PortClosed impl Display for PortClosed impl Error for PortClosed struct TcpGcodePort impl TcpGcodePort impl SerialPortFacade for TcpGcodePort enum Poll struct Link impl Link
Functions
By call-graph weight (PageRank; 1.0 is the average function). 17 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| Link::send_bytessrc/gcode_stream/port.rs:271 | method | 4 | 1 | 4 | 0 | 2 | |
| Link::pollsrc/gcode_stream/port.rs:276 | method | 13 | 4 | 2 | 1 | 1.4 | |
| Link::newsrc/gcode_stream/port.rs:262 | method | 3 | 1 | 1 | 0 | 1.1 | |
| tcp_authoritysrc/gcode_stream/port.rs:136 | fn | 20 | 9 | 2 | 0 | 1 | |
| Link::send_linesrc/gcode_stream/port.rs:267 | method | 3 | 1 | 3 | 1 | 0.9 | |
| TcpGcodePort::closedsrc/gcode_stream/port.rs:199 | method | 3 | 1 | 2 | 0 | 0.9 | |
| is_disconnectsrc/gcode_stream/port.rs:204 | fn | 10 | 1 | 2 | 0 | 0.9 | |
| is_virtual_printer_endpointsrc/gcode_stream/port.rs:89 | fn | 4 | 2 | 2 | 1 | 0.9 | |
| TcpGcodePort::connectsrc/gcode_stream/port.rs:178 | method | 20 | 3 | 2 | 0 | 0.8 | |
| open_portsrc/gcode_stream/port.rs:64 | fn | 23 | 6 | 2 | 8 | 0.7 | |
| virtual_printer_profilesrc/gcode_stream/port.rs:97 | fn | 36 | 10 | 1 | 2 | 0.6 | |
| Link::discard_partialsrc/gcode_stream/port.rs:291 | method | 3 | 1 | 1 | 0 | 0.5 | |
| Transport::namesrc/gcode_stream/port.rs:41 | method | 7 | 3 | 0 | 0 | 0.5 | |
| PortClosed::fmtsrc/gcode_stream/port.rs:163 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TcpGcodePort::write_allsrc/gcode_stream/port.rs:216 | trait impl | 7 | 4 | 0 | 2 | 0.5 | |
| TcpGcodePort::flushsrc/gcode_stream/port.rs:224 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TcpGcodePort::readsrc/gcode_stream/port.rs:228 | trait impl | 11 | 8 | 0 | 2 | 0.5 |
Source not readable from this process.