Skip to main content

Module bounded_note

Module bounded_note 

Source
Expand description

BoundedNote, length-bounded string type for untrusted input.

Structs§

BoundedNote
A length-bounded note string (max 200 chars / 512 bytes).

Enums§

NoteTooLong
Error returned when a note exceeds length limits.

Constants§

MAX_NOTE_BYTES
Max bytes allowed in a note.
MAX_NOTE_CHARS
Max characters allowed in a note.