Crate protoflow_blocks

source

Structs§

  • A block that simply stores all messages it receives.
  • A block for sending a constant value.
  • A block that counts the number of messages it receives, while optionally passing them through.
  • A block that decodes T messages from a byte stream.
  • A block that passes messages through while delaying them by a fixed or random duration.
  • A block that simply discards all messages it receives.
  • A block that encodes T messages to a byte stream.
  • A block that encodes a byte stream into hexadecimal form.
  • Computes the cryptographic hash of a byte stream, while optionally passing it through.
  • A block for generating and sending a random value.
  • A block that reads file names from a file system directory.
  • A block that reads the value of an environment variable.
  • A block that reads bytes from the contents of a file.
  • A block that reads bytes from standard input (aka stdin).
  • A block that writes or appends bytes to the contents of a file.
  • A block that writes bytes to standard error (aka stderr).
  • A block that writes bytes to standard output (aka stdout).

Enums§

  • The type of delay (fixed or random) to apply to message relay.
  • The encoding to use when (de)serializing messages from/to bytes.
  • The cryptographic hash algorithm to use.

Traits§