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/ipp/simulator.rs
Items
const MAKE_AND_MODEL const PRINTER_UUID const MAX_RETAINED_JOBS enum SimOutcome struct SimulatorKnobs impl Default for SimulatorKnobs impl SimulatorKnobs struct SimJob static JOBS static NEXT struct SimulatedPrinter impl SimulatedPrinter impl IppTransport for SimulatedPrinter
Functions
By call-graph weight (PageRank; 1.0 is the average function). 28 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| jobssrc/ipp/simulator.rs:133 | fn | 4 | 1 | 6 | 0 | 2.3 | |
| SimulatorKnobs::defaultsrc/ipp/simulator.rs:54 | trait impl | 9 | 1 | 2 | 0 | 1.7 | |
| clientsrc/ipp/simulator.rs:467 | fn | 4 | 1 | 5 | 3 | 1.2 | |
| SimulatorKnobs::parsesrc/ipp/simulator.rs:66 | method | 53 | 15 | 3 | 1 | 1.2 | |
| responsesrc/ipp/simulator.rs:456 | fn | 5 | 1 | 5 | 2 | 1.1 | |
| push_operation_headersrc/ipp/simulator.rs:447 | fn | 8 | 1 | 2 | 1 | 1.1 | |
| SimulatedPrinter::newsrc/ipp/simulator.rs:163 | method | 3 | 1 | 2 | 0 | 1 | |
| tiny_pwgsrc/ipp/simulator.rs:472 | fn | 16 | 1 | 3 | 1 | 0.9 | |
| SimulatedPrinter::printer_attributessrc/ipp/simulator.rs:199 | method | 61 | 3 | 1 | 2 | 0.7 | |
| received_documentsrc/ipp/simulator.rs:144 | fn | 3 | 1 | 3 | 1 | 0.7 | |
| settlesrc/ipp/simulator.rs:358 | fn | 13 | 2 | 2 | 0 | 0.6 | |
| push_job_statussrc/ipp/simulator.rs:408 | fn | 18 | 2 | 2 | 3 | 0.6 | |
| SimulatedPrinter::answersrc/ipp/simulator.rs:167 | method | 31 | 8 | 1 | 5 | 0.6 | |
| SimulatedPrinter::get_printer_attributessrc/ipp/simulator.rs:261 | method | 14 | 7 | 1 | 3 | 0.6 | |
| SimulatedPrinter::print_jobsrc/ipp/simulator.rs:276 | method | 65 | 6 | 1 | 10 | 0.6 | |
| get_job_attributessrc/ipp/simulator.rs:372 | fn | 18 | 3 | 1 | 5 | 0.6 | |
| cancel_jobsrc/ipp/simulator.rs:391 | fn | 16 | 2 | 1 | 3 | 0.6 | |
| received_document_formatsrc/ipp/simulator.rs:149 | fn | 3 | 1 | 2 | 1 | 0.6 | |
| next_job_idsrc/ipp/simulator.rs:138 | fn | 4 | 1 | 1 | 0 | 0.5 | |
| validate_documentsrc/ipp/simulator.rs:428 | fn | 18 | 7 | 1 | 1 | 0.5 | |
| received_job_attributessrc/ipp/simulator.rs:154 | fn | 3 | 1 | 1 | 1 | 0.5 | |
| SimulatedPrinter::round_tripsrc/ipp/simulator.rs:344 | trait impl | 11 | 2 | 0 | 4 | 0.5 | |
| knobs_parse_and_refusesrc/ipp/simulator.rs:490 | fn | 14 | 1 | 0 | 2 | 0.5 | |
| answers_get_printer_attributes_with_requested_subsetsrc/ipp/simulator.rs:506 | fn | 11 | 1 | 0 | 4 | 0.5 | |
| print_job_then_poll_to_completionsrc/ipp/simulator.rs:519 | fn | 22 | 1 | 0 | 6 | 0.5 | |
| cancel_before_completionsrc/ipp/simulator.rs:543 | fn | 13 | 1 | 0 | 5 | 0.5 | |
| refuses_unlisted_formats_and_broken_documentssrc/ipp/simulator.rs:558 | fn | 20 | 1 | 0 | 2 | 0.5 | |
| unknown_job_is_not_foundsrc/ipp/simulator.rs:580 | fn | 4 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.