Skip to content
1 viewer

rust 1,859,753 · typescript 235,218 · javascript 132,950 · python 20,426 · 6,405 files · digest 8b5a693e3c82 · built in 1.7 s · crystals off

crates/cre8-app-device-model/src/lib.rs

cre8-app-device-model · module crate root · src · 331 lines (252 code, 51 comment) · sha ac656e704f44a53a

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.

functionkindlinescyclomaticcallerscalleesweightcrystal
DeviceRecord::heartbeat_age_mssrc/lib.rs:74method31203.9
DeviceRecord::livenesssrc/lib.rs:81method134413.3
classifysrc/lib.rs:154fn72823
known_kind_classsrc/lib.rs:162fn31101.8
peripheral_kind_classsrc/lib.rs:166fn31101.8
DeviceRecord::liveness_defaultsrc/lib.rs:96method31110.9
DeviceRecord::normalize_classsrc/lib.rs:105method52110.9
DeviceRecord::is_onlinesrc/lib.rs:100method32110.7
Liveness::as_strsrc/lib.rs:62method73000.5
device_record_serde_round_tripsrc/lib.rs:203fn241000.5
device_record_deserializes_legacy_rows_without_class_or_heartbeatsrc/lib.rs:229fn191010.5
classify_buckets_known_kindssrc/lib.rs:250fn131010.5
normalize_class_fills_blank_from_kindsrc/lib.rs:265fn101010.5
liveness_transitions_online_stale_offlinesrc/lib.rs:277fn161020.5
device_transport_record_metadata_defaults_to_null_when_missingsrc/lib.rs:295fn191000.5
device_frame_batch_round_trips_frames_in_ordersrc/lib.rs:316fn151000.5

Source not readable from this process.