Module iroh_blobs::get::fsm

source ·
Expand description

Finite state machine for get responses.

This is the low level API for getting data from a peer.

Initial
Initial
Connected
Connected
StartChild
StartChild
StartRoot
StartRoot
BlobHeader
BlobHeader
BlobContent
BlobContent
BlobEnd
BlobEnd
Closing
Closing
Stats
Stats
Error
Error
(hash)
(hash)
Text is not SVG - cannot display

Structs§

  • State while we are reading content
  • State before reading a size header
  • State when finishing the get response
  • State of the get response machine after the handshake has been sent
  • State after we have read all the content for a blob
  • Initial state of the get response machine
  • State of the get response when we start reading a child
  • State of the get response when we start reading a collection

Enums§

Functions§

  • The entry point of the get response machine