mockd

Module hacker

Source
Expand description

Provides 6 functions to return mock hacker data.

§Examples

use mockd::hacker;

    let data = hacker::phrase(); // phrase: parsing the sensor won't do anything, we need to bypass the open-source AGP sensor!
    let data = hacker::abbreviation(); // abbreviation: PCI
    let data = hacker::adjective(); // adjective: bluetooth
    let data = hacker::noun(); // noun: protocol
    let data = hacker::verb(); // verb: copy
    let data = hacker::ingverb(); // ingverb: transmitting

§Feature

Requires the “hacker” feature.

Functions§

  • Pick a random abbreviation from the abbreviation dictionary.
  • Pick a random adjective.from the adjective dictionary.
  • Pick a random ing verb form from the ingverb dictionary.
  • Pick a random noun.from the noun dictionary.
  • Generate a random phrase.
  • Pick a random verb.from the verb dictionary.