Expand description
Status types for a dove request — the PIN-gated ask for someone else to
upload a file to you. share run backwards: the link’s creator is the
eventual receiver. dove-core reports these; the CLI and the desktop app
render them without needing to know how the gate encodes state on the wire.
See docs/REQUEST.md for the full design.
Structs§
- Create
Request - What to create: the ask (description), optional trust metadata (who’s
asking, why), an optional PIN the gate checks before handing out an
upload slot, how long the link stays live, and the upload budget.
SelfHosted::create_requestconsumes this; the CLI (and later the desktop app) build it from user input. - NewRequest
- The result of creating a request: the id (for the local ledger) and the link to hand to whoever you’re asking to upload.
- Request
Info - One request, enough to identify, describe, and show the state of — what
dove requestslists anddove requests getlooks up.
Enums§
- Request
Status - Where a request stands: nobody’s uploaded yet, something arrived, or the one attempt the gate allowed came back bad.