rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off
crates/cre8-app-device-model/src/lib.rs
Items
struct DeviceRecord const DEFAULT_ONLINE_TTL_MS const DEFAULT_STALE_TTL_MS const DEFAULT_PRUNE_TTL_MS enum Liveness impl Liveness impl DeviceRecord const COMPUTE const PERIPHERAL const SENSOR const STORAGE const NETWORK const OTHER const GPU const CPU const MEMORY const STORAGE const NIC const PRINTER_3D const PRINTER_2D const SCANNER const OBD const COMPUTE_KINDS const STORAGE_KINDS const NETWORK_KINDS const SENSOR_KINDS const KIND_CLASS_TABLE const PERIPHERAL_MARKERS struct DeviceTransportRecord struct DeviceFrameBatch
Functions
By call-graph weight (PageRank; 1.0 is the average function). 16 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| DeviceRecord::heartbeat_age_mssrc/lib.rs:74 | method | 3 | 1 | 2 | 0 | 3.9 | |
| DeviceRecord::livenesssrc/lib.rs:81 | method | 13 | 4 | 4 | 1 | 3.3 | |
| classifysrc/lib.rs:154 | fn | 7 | 2 | 8 | 2 | 3 | |
| known_kind_classsrc/lib.rs:162 | fn | 3 | 1 | 1 | 0 | 1.8 | |
| peripheral_kind_classsrc/lib.rs:166 | fn | 3 | 1 | 1 | 0 | 1.8 | |
| DeviceRecord::liveness_defaultsrc/lib.rs:96 | method | 3 | 1 | 1 | 1 | 0.9 | |
| DeviceRecord::normalize_classsrc/lib.rs:105 | method | 5 | 2 | 1 | 1 | 0.9 | |
| DeviceRecord::is_onlinesrc/lib.rs:100 | method | 3 | 2 | 1 | 1 | 0.7 | |
| Liveness::as_strsrc/lib.rs:62 | method | 7 | 3 | 0 | 0 | 0.5 | |
| device_record_serde_round_tripsrc/lib.rs:203 | fn | 24 | 1 | 0 | 0 | 0.5 | |
| device_record_deserializes_legacy_rows_without_class_or_heartbeatsrc/lib.rs:229 | fn | 19 | 1 | 0 | 1 | 0.5 | |
| classify_buckets_known_kindssrc/lib.rs:250 | fn | 13 | 1 | 0 | 1 | 0.5 | |
| normalize_class_fills_blank_from_kindsrc/lib.rs:265 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| liveness_transitions_online_stale_offlinesrc/lib.rs:277 | fn | 16 | 1 | 0 | 2 | 0.5 | |
| device_transport_record_metadata_defaults_to_null_when_missingsrc/lib.rs:295 | fn | 19 | 1 | 0 | 0 | 0.5 | |
| device_frame_batch_round_trips_frames_in_ordersrc/lib.rs:316 | fn | 15 | 1 | 0 | 0 | 0.5 |
Source not readable from this process.