#[non_exhaustive]pub enum ErrorCode {
Show 186 variants
NotPdf,
MissingRoot,
ReferenceCycle,
LimitExceeded,
Strict,
DataPending,
Source,
Type,
InvalidStructure,
UnsetObject,
RepairedBase,
EncryptedBase,
PasswordRequired,
WrongPassword,
UnsupportedSecurityHandler,
UnexpectedEof,
Syntax,
UnsupportedFilter,
Decompress,
NestedTransaction,
NoTransaction,
UnknownPage,
DirectPage,
UnsupportedVersion,
InvalidOpLog,
SavedNotRebased,
NoPendingSave,
MalformedXmp,
UnknownSource,
OpenActionNotDestination,
UnknownOutlineItem,
DirectOutlineItem,
OutlineNotASibling,
OutlineMoveIntoItself,
UnknownNamedDestination,
NamedDestinationExists,
EmptyDestinationName,
LinkUriRefused,
ViewNotFinite,
XmpClaimReadOnly,
InvalidXmpPacket,
InvalidXmpProperty,
NoPagesLeft,
InvalidOp,
UnknownAnnotation,
AnnotationLocked,
AnnotationNotEditable,
NotALink,
LinkNotTagged,
AppearanceUnavailable,
AppearanceNeedsText,
AnnotationGlyphMissing,
AnnotationFontInvalid,
StampImageInvalid,
InvalidLabelRanges,
ContentObjectStale,
ContentNotEditable,
UnknownBlob,
ImagesUnavailable,
FlattenWidget,
UnknownAttachment,
AttachmentTooLarge,
UnknownField,
FieldIsSignature,
SignFieldSigned,
SignCertifyNotFirst,
FieldValueInvalid,
FieldNameTaken,
FieldNameInvalid,
PdfaFieldActions,
TabOrderNeedsStructure,
TabOrderInvalid,
ContentIdInUse,
UnknownContentObject,
UnknownPageMark,
ContentObjectInvalid,
ContentNeedsAltText,
ContentGlyphMissing,
ContentFontInvalid,
ContentFontNotEmbeddable,
EncryptionNoPassword,
EncryptionPdfaConflict,
SecretMissing,
OwnerPasswordRequired,
NotEncrypted,
SanitiseIncomplete,
SanitiseLimit,
RedactionMarkMissing,
RedactionIncomplete,
Sink,
NotRebased,
SinkNotEmpty,
WouldInvalidateSignatures,
RequiresRewrite,
EncryptionIncomplete,
EncryptionNoEntropy,
SignPlaceholderTooSmall,
SignKeyUnsupported,
SignSignerFailed,
SignDocumentChanged,
SignatureMalformed,
SignatureAlgorithmUnsupported,
InvalidFont,
CollectionIndex,
UnknownAxis,
FontNotEmbeddable,
MissingGlyph,
GlyphOutOfRange,
UnknownFont,
SubsetFailed,
InvalidAxisValue,
WrongDocument,
InvalidFeature,
InvalidTextRange,
InvalidSpans,
UnsupportedLayoutOption,
FontMismatch,
EncodingFull,
FontNotShapable,
InvalidImage,
UnsupportedImage,
ImageTooLarge,
ImageDataLength,
InvalidIccProfile,
ColorComponents,
InvalidColor,
InvalidGeometry,
TextOverflow,
PageIndexOutOfRange,
UnknownDestination,
InvalidPageLabels,
TagElementNotOpen,
TagElementUnclosed,
ProfileVersionConflict,
MissingTitle,
MissingLang,
MissingAltText,
UntaggedContent,
HeadingLevelSkipped,
UnnumberedHeadingMisused,
InvalidStructureNesting,
LinkWithoutStructure,
LinkWithoutContents,
FontNotEmbedded,
GlyphWithoutUnicode,
DeviceColorWithoutOutputIntent,
EmbeddedFileForbidden,
EmbeddedFileWithoutMimeType,
FlowContentTooLarge,
FlowLayoutUnstable,
InvalidDocument,
TemplateDataMissing,
TemplateDataType,
TemplateTooLarge,
RenderTooLarge,
RenderFailed,
RenderBackendUnavailable,
ExportFailed,
ModelFailed,
ModelResultUnexpected,
ModelNeedsHost,
InterchangeUnknownFormat,
InterchangeMalformed,
InterchangeDtd,
SubmitPdfRefused,
SubmitUrlRefused,
InterchangeTooLarge,
Cancelled,
JobFinished,
DocumentChanged,
RevisionIndexOutOfRange,
NoBookmarks,
SoundUnavailable,
BuilderFinished,
Disposed,
InvalidArgument,
SourceBudgetExceeded,
UnknownOption,
InvalidCommandLine,
InvalidPageRange,
BinaryOutputToTerminal,
UnknownCode,
OverwriteRefused,
InputUnreadable,
OutputUnwritable,
PathOutsideRoots,
}Expand description
Every error code lamina’s Rust crates and its WASM binding raise (the codes only
@laminapdf/sdk raises are not here), in codes.json order.
Added in 0.2.0.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
NotPdf
not-pdf: the input does not look like a PDF at all.
MissingRoot
missing-root: no document catalog (/Root) was found, even after repair.
ReferenceCycle
reference-cycle: a reference chain or the page tree loops back on itself.
LimitExceeded
limit-exceeded: a hard Limits value was exceeded.
Strict
strict: strict mode refused something the tolerant reader would have repaired.
DataPending
data-pending: the ByteSource has not fetched the byte ranges the call needs yet.
Source
source: the ByteSource failed to read.
Type
type: an object had a different type than the structure requires.
InvalidStructure
invalid-structure: an object stream, xref section or filter parameter was malformed.
UnsetObject
unset-object: a writer object number was reserved but never given a value.
RepairedBase
repaired-base: an incremental update was requested for a document whose xref needed repair.
EncryptedBase
encrypted-base: a save of an encrypted document was requested.
PasswordRequired
password-required: the document is encrypted with a user password and none was given.
WrongPassword
wrong-password: the given password is neither the user nor the owner password.
UnsupportedSecurityHandler
unsupported-security-handler: the document uses a security handler Lamina PDF cannot decrypt.
UnexpectedEof
unexpected-eof: the input ended before a complete token or object was read.
Syntax
syntax: a token or structure did not match the PDF grammar.
UnsupportedFilter
unsupported-filter: a stream uses a filter Lamina PDF does not implement.
Decompress
decompress: compressed stream data was corrupt.
NestedTransaction
nested-transaction: a transaction was started, or undo or redo called, while one is open.
NoTransaction
no-transaction: apply, commit or rollback was called without an open transaction.
UnknownPage
unknown-page: an op names a page the document does not have.
DirectPage
direct-page: the page is a direct dictionary, which ops cannot edit yet.
UnsupportedVersion
unsupported-version: an op log has a schema version this reader does not know.
InvalidOpLog
invalid-op-log: an op log does not parse: an unknown op or field, a bad value, or not JSON.
SavedNotRebased
saved-not-rebased: the document was saved to a sink Lamina PDF cannot read back and waits for rebase.
NoPendingSave
no-pending-save: rebase was called without a save waiting for it.
MalformedXmp
malformed-xmp: a metadata edit would replace the document’s XMP packet, which can’t be read, losing what it holds.
UnknownSource
unknown-source: an op or a call names a source document that was not added to the session.
OpenActionNotDestination
open-action-not-destination: an op would replace or remove the document’s open action, which is an action other than a destination.
UnknownOutlineItem
unknown-outline-item: an outline op names a bookmark the outline does not have.
DirectOutlineItem
direct-outline-item: the bookmark is stored inside another item rather than as an object of its own, so outline ops can’t name it yet.
OutlineNotASibling
outline-not-a-sibling: the position names a bookmark that is not a child of the parent the op names.
OutlineMoveIntoItself
outline-move-into-itself: a move would put a bookmark inside itself or one of its descendants.
UnknownNamedDestination
unknown-named-destination: the op names a destination the file does not define.
NamedDestinationExists
named-destination-exists: a rename to a name another destination already has.
EmptyDestinationName
empty-destination-name: a destination name is empty.
LinkUriRefused
link-uri-refused: a web address that isn’t an absolute http, https or mailto address in plain ASCII.
ViewNotFinite
view-not-finite: a destination’s coordinates and zoom must be finite numbers.
XmpClaimReadOnly
xmp-claim-read-only: an XMP edit would change the file’s PDF/A or PDF/UA identification, which only conversion or a check may set.
InvalidXmpPacket
invalid-xmp-packet: the XMP packet given to replace the document’s doesn’t parse.
InvalidXmpProperty
invalid-xmp-property: an XMP property edit names a property, or gives a value, that can’t be written.
NoPagesLeft
no-pages-left: a page deletion would leave the document with no pages.
InvalidOp
invalid-op: an op’s values are out of range, such as a page count or a page size.
UnknownAnnotation
unknown-annotation: the op names an annotation that no page of the document lists.
AnnotationLocked
annotation-locked: the annotation’s flags forbid the change: Locked forbids deleting it or changing its properties, LockedContents changing its contents.
AnnotationNotEditable
annotation-not-editable: the annotation can’t be edited by the annotation ops: it is a form field’s widget, or a direct dictionary with no object of its own.
NotALink
not-a-link: a link op names an annotation that isn’t a link.
LinkNotTagged
link-not-tagged: the file claims PDF/UA-1 but has no structure tree for a new link to join.
appearance-unavailable: the document has no appearance generator, so it can’t draw a new annotation.
AppearanceNeedsText
appearance-needs-text: drawing this text box needs text layout that this build of Lamina PDF leaves out: a font given by its bytes, or a fallback font.
AnnotationGlyphMissing
annotation-glyph-missing: a character of a text box is in none of its fonts, so it can’t be drawn.
AnnotationFontInvalid
annotation-font-invalid: a text box’s font bytes aren’t a font Lamina PDF can read and embed.
StampImageInvalid
stamp-image-invalid: an image stamp’s bytes aren’t a JPEG or PNG image Lamina PDF can read.
InvalidLabelRanges
invalid-label-ranges: page label ranges whose first isn’t on the first page, that are out of page order or share a page, or that number from 0.
ContentObjectStale
content-object-stale: an edit names a content object whose bytes are no longer what the edit expects, so it would change another object.
ContentNotEditable
content-not-editable: the content can’t be edited: its font, its writing direction, the order of its glyphs, a clip it sets or the state it draws in is one Lamina PDF can’t change safely, or it can’t be read.
UnknownBlob
unknown-blob: an op names bytes by an ID that were not added to the session.
images-unavailable: the document has no image writer, so it can’t put a replacement image in the file.
FlattenWidget
flatten-widget: flattening names a form field’s widget, which annotation flattening leaves alone.
UnknownAttachment
unknown-attachment: an attachment op names an attachment the document doesn’t hold.
AttachmentTooLarge
attachment-too-large: a file to attach is larger than the document can read back out, so it wasn’t attached.
UnknownField
unknown-field: a form op names a field the form doesn’t have.
FieldIsSignature
field-is-signature: a form-filling op names a signature field, whose value only signing writes.
SignFieldSigned
sign-field-signed: the signature field a Sign op names already holds a signature.
SignCertifyNotFirst
sign-certify-not-first: a Sign op asks to certify a document that already holds a signature.
FieldValueInvalid
field-value-invalid: a value doesn’t fit its form field: another kind of value, text over the maximum length, an option or state the field doesn’t have, the wrong number of choices, or text its format or range refuses.
FieldNameTaken
field-name-taken: a form field with this fully qualified name exists already (a new field’s name, or the name a field is renamed to).
FieldNameInvalid
field-name-invalid: a form field’s name (new, or a rename’s) is empty, has an empty part between periods or a control character, or sits below a field that has widgets.
PdfaFieldActions
pdfa-field-actions: a push button’s form action, or a field’s format, validation or calculation script, is one that PDF/A forbids.
TabOrderNeedsStructure
tab-order-needs-structure: a tab order needs the document’s structure: Structure on a file that isn’t tagged, or a custom order on a file that claims PDF/UA-1.
TabOrderInvalid
tab-order-invalid: a custom tab order doesn’t list every widget of the page exactly once.
ContentIdInUse
content-id-in-use: an object added to a page has an ID that another object Lamina PDF added to that page already has.
UnknownContentObject
unknown-content-object: the op names an added object that the page doesn’t draw.
UnknownPageMark
unknown-page-mark: the op names a page mark (a watermark, background, header or footer, or Bates number) that the page doesn’t draw.
ContentObjectInvalid
content-object-invalid: an added object’s bytes aren’t a JPEG or PNG image, or a PDF with the page it names, that Lamina PDF can read.
ContentNeedsAltText
content-needs-alt-text: an image added to a file that claims PDF/UA-1 has no alternate text, which PDF/UA-1 requires of a figure.
ContentGlyphMissing
content-glyph-missing: a character of text added to a page is in none of its fonts, so it can’t be drawn.
ContentFontInvalid
content-font-invalid: a font given for text added to a page isn’t a font Lamina PDF can read and embed.
ContentFontNotEmbeddable
content-font-not-embeddable: a font given for text added to a page forbids embedding in its OS/2 fsType, so the page can’t keep it.
EncryptionNoPassword
encryption-no-password: a request to encrypt a file gave neither a user password nor an owner password.
EncryptionPdfaConflict
encryption-pdfa-conflict: a request to encrypt a file that claims PDF/A, which forbids encryption.
SecretMissing
secret-missing: an operation needs a password that an op log left out, since logs never store passwords.
OwnerPasswordRequired
owner-password-required: a request to change or remove a file’s protection, or to copy its pages into a document without it, when it was opened with a password that restricts what it allows.
NotEncrypted
not-encrypted: a request to remove the protection of a file that isn’t encrypted.
SanitiseIncomplete
sanitise-incomplete: a sanitising edit checked the document after its removals and found something it should have removed, so the edit was undone.
SanitiseLimit
sanitise-limit: a sanitising edit ran out of the work it may do on one file, or met an object nested deeper than it reads, so it removed nothing.
RedactionMarkMissing
redaction-mark-missing: a redaction to apply names a mark that is gone or isn’t a redaction mark.
RedactionIncomplete
redaction-incomplete: applying redactions met content it can’t remove safely on a page a mark is on (text it can’t read or place, content inside a form, or a page that can’t be parsed), so nothing was removed.
Sink
sink: the sink failed to take the bytes or could not give them back.
NotRebased
not-rebased: the output was written, but rebasing the document onto it failed.
SinkNotEmpty
sink-not-empty: the sink already held bytes before the save started.
WouldInvalidateSignatures
would-invalidate-signatures: the save would break one or more signatures.
RequiresRewrite
requires-rewrite: an incremental save was requested but only a full rewrite is safe.
EncryptionIncomplete
encryption-incomplete: a string or stream could not be encrypted, so the save wrote nothing.
EncryptionNoEntropy
encryption-no-entropy: a save that encrypts the file was given no random bytes to encrypt with.
SignPlaceholderTooSmall
sign-placeholder-too-small: the signature doesn’t fit the space reserved for it in the file.
SignKeyUnsupported
sign-key-unsupported: the signing certificate or its key isn’t one lamina signs with.
SignSignerFailed
sign-signer-failed: the signer couldn’t sign, or what it returned isn’t a signature of its key’s algorithm.
SignDocumentChanged
sign-document-changed: the document changed after the signature was prepared, or isn’t the document it was prepared for.
SignatureMalformed
signature-malformed: a signature’s dictionary, /ByteRange or /Contents breaks a structural rule, so the signature is never valid.
SignatureAlgorithmUnsupported
signature-algorithm-unsupported: a signature uses an algorithm, curve, key size or sub-filter the validator does not accept, so it is neither valid nor invalid.
InvalidFont
invalid-font: font bytes could not be read as a font.
CollectionIndex
collection-index: a font collection member past the end of the collection was asked for.
UnknownAxis
unknown-axis: an instance was asked for on a variation axis the font does not have.
FontNotEmbeddable
font-not-embeddable: the font’s OS/2 fsType forbids embedding.
MissingGlyph
missing-glyph: the font has no glyph for a character of the text.
GlyphOutOfRange
glyph-out-of-range: a glyph ID at or past the font’s glyph count was used.
UnknownFont
unknown-font: a FontKey was used with a registry that did not hand it out.
SubsetFailed
subset-failed: subsetting a font failed.
InvalidAxisValue
invalid-axis-value: a variation axis value was NaN or infinite.
WrongDocument
wrong-document: finish_fonts was given a document the registry did not reserve its fonts in.
InvalidFeature
invalid-feature: an OpenType feature setting did not parse.
InvalidTextRange
invalid-text-range: a byte range was out of bounds or not on character boundaries of the text.
InvalidSpans
invalid-spans: the styled spans given for a paragraph do not cover its text once, in order.
UnsupportedLayoutOption
unsupported-layout-option: a layout option that is not implemented yet was asked for.
FontMismatch
font-mismatch: a shaped run was given with a font key for a different font than it was shaped with.
EncodingFull
encoding-full: a standard 14 font has no free one-byte code left for another glyph.
FontNotShapable
font-not-shapable: a standard 14 font was given to shaping or layout, which need a font program.
InvalidImage
invalid-image: image bytes are not a readable image of the format they were given as.
UnsupportedImage
unsupported-image: the image uses a feature that PDF or Lamina PDF does not support.
ImageTooLarge
image-too-large: the image needs more memory than the builder allows (a decoded PNG over 256 MiB, or raw dimensions whose size overflows).
ImageDataLength
image-data-length: raw image samples are not width x height x channels bytes long.
InvalidIccProfile
invalid-icc-profile: the bytes are not a usable ICC profile.
ColorComponents
color-components: a colour has the wrong number of components for its colour space.
InvalidColor
invalid-color: a colour string is not of the form #rgb or #rrggbb.
InvalidGeometry
invalid-geometry: a page size, box, /UserUnit, drawing value (coordinate, matrix, line width, dash, miter limit) or image size is not usable.
TextOverflow
text-overflow: a text box’s lines don’t all fit its height and its options asked for an error.
PageIndexOutOfRange
page-index-out-of-range: a link, outline item or destination names a page index the document doesn’t have.
UnknownDestination
unknown-destination: a link or outline item names a destination that was never defined.
InvalidPageLabels
invalid-page-labels: page label ranges that don’t start at page 0, don’t increase, start past the last page or number from 0.
TagElementNotOpen
tag-element-not-open: a structure element resumed or closed isn’t open.
TagElementUnclosed
tag-element-unclosed: structure elements opened across pages were never closed.
ProfileVersionConflict
profile-version-conflict: the PDF version asked for is one the profile doesn’t allow (PDF/UA-1, PDF/A-2 and PDF/A-3 are based on PDF 1.7).
MissingTitle
missing-title: PDF/UA-1 needs a document title, and the metadata gives none.
MissingLang
missing-lang: PDF/UA-1 needs the document’s natural language, and none was set.
MissingAltText
missing-alt-text: a Figure or Formula has no alternate text (/Alt or /ActualText), which PDF/UA-1 requires.
UntaggedContent
untagged-content: content was drawn outside every structure element and artifact, which PDF/UA-1 forbids.
HeadingLevelSkipped
heading-level-skipped: a heading skips a level (the first is not H1, or an H3 follows an H1), which PDF/UA-1 forbids.
UnnumberedHeadingMisused
unnumbered-heading-misused: an unnumbered H heading shares its parent with another H, or the document also uses H1-H6, which PDF/UA-1 forbids.
InvalidStructureNesting
invalid-structure-nesting: a table or list element sits in a parent its type doesn’t allow (a TD outside a TR, a P directly in a Table).
LinkWithoutStructure
link-without-structure: a link annotation has no Link structure element (it was drawn inside an artifact), which PDF/UA-1 forbids.
LinkWithoutContents
link-without-contents: a link annotation has no description (/Contents), which PDF/UA-1 requires.
FontNotEmbedded
font-not-embedded: a standard 14 font, which is never embedded, was used under a profile that needs every font embedded.
GlyphWithoutUnicode
glyph-without-unicode: a glyph was drawn without a Unicode value, which PDF/A-2u and PDF/UA-1 forbid.
DeviceColorWithoutOutputIntent
device-color-without-output-intent: a DeviceCMYK colour or image was used, but the PDF/A output intent is sRGB.
EmbeddedFileForbidden
embedded-file-forbidden: PDF/A-2 doesn’t allow attached files that aren’t PDF/A themselves.
EmbeddedFileWithoutMimeType
embedded-file-without-mime-type: an attached file has no MIME type, which every PDF/A profile requires.
FlowContentTooLarge
flow-content-too-large: a line or a figure of a flow is taller than the page’s body, so no page can hold it.
FlowLayoutUnstable
flow-layout-unstable: a flow’s contents page kept changing its page numbers after four layouts.
InvalidDocument
invalid-document: a laminapdf.document/1 document has an unknown key, a missing one or a value of the wrong kind.
TemplateDataMissing
template-data-missing: a template’s $data, $each or $item points to a value the data doesn’t have.
TemplateDataType
template-data-type: a template’s placeholder found data of the wrong kind: $each over something that isn’t a list, or text from an object.
TemplateTooLarge
template-too-large: a template would fill in more values, or nest deeper, than a document may hold.
RenderTooLarge
render-too-large: the requested tile is larger than the render limits allow; nothing was allocated.
RenderFailed
render-failed: the render engine could not open the document or draw the page.
render-backend-unavailable: the render engine is not available: its library or module could not be loaded.
ExportFailed
export-failed: an export’s PNG, JPEG or TIFF encoder failed on a page that was drawn.
ModelFailed
model-failed: a layout model, OCR engine or page renderer plugged into an extraction failed; the extraction stops with no partial result.
ModelResultUnexpected
model-result-unexpected: a model result was handed to an extraction job that hadn’t asked for it, or was the other model’s result.
ModelNeedsHost
model-needs-host: an extraction in one call was given a model whose results only the host can give: a host model, or a plug-in model without a page renderer.
InterchangeUnknownFormat
interchange-unknown-format: the bytes given to import are neither XFDF nor FDF, nor JSON for form data.
InterchangeMalformed
interchange-malformed: the XFDF, FDF or form data JSON file doesn’t read; the error names the line where reading stopped.
InterchangeDtd
interchange-dtd: the XFDF file declares a DTD, which could define entities that expand without end or read other files, so it is refused.
SubmitPdfRefused
submit-pdf-refused: a form action asks to send the whole PDF, which Lamina PDF never does: only field values leave the device.
SubmitUrlRefused
submit-url-refused: a form action’s address isn’t an https: address, so nothing is sent.
InterchangeTooLarge
interchange-too-large: the exchange file is larger than the document’s limits allow.
Cancelled
cancelled: a CancelToken stopped the work; the job is finished and returned no partial result.
JobFinished
job-finished: a job was stepped after it had finished, failed or been cancelled.
DocumentChanged
document-changed: the document a job or a contents listing was made from changed (an edit, undo, redo, save or rebase), or a different document was passed to step.
RevisionIndexOutOfRange
revision-index-out-of-range: an earlier revision was asked for by an index past the file’s last revision.
NoBookmarks
no-bookmarks: a contents page was asked for, but no bookmark goes to a page of the document, so it would list nothing.
sound-unavailable: a sound comment was asked for as WAV, but the annotation isn’t a Sound annotation, or its samples are compressed or in a format PDF doesn’t allow.
BuilderFinished
builder-finished: a builder or one of its pages was used after it finished.
Disposed
disposed: a document, builder or other handle was used after free(), or after the using block that held it ended.
InvalidArgument
invalid-argument: a value passed to a binding does not have the shape its type declares.
SourceBudgetExceeded
source-budget-exceeded: a sparse source was given more bytes than its byte budget allows.
UnknownOption
unknown-option: an options record passed to a binding has a key Lamina PDF does not know.
InvalidCommandLine
invalid-command-line: the command line doesn’t parse: an unknown command or flag, a missing argument, a bad value, or stdin named twice.
InvalidPageRange
invalid-page-range: a page range doesn’t fit the grammar, or names a page the document lacks.
BinaryOutputToTerminal
binary-output-to-terminal: the command would write a PDF to standard output, and standard output is a terminal.
UnknownCode
unknown-code: explain was given a code that isn’t a Lamina PDF error or warning code.
OverwriteRefused
overwrite-refused: the output file exists, or the command would modify its input in place, and –force wasn’t given.
InputUnreadable
input-unreadable: an input file, standard input or the password file couldn’t be read.
OutputUnwritable
output-unwritable: the output couldn’t be written: its folder is missing or read-only, the disk is full, or standard output closed.
PathOutsideRoots
path-outside-roots: laminapdf mcp was given a path outside its –root folders, or a link that leads out of them.
Implementations§
Source§impl ErrorCode
impl ErrorCode
Sourcepub const fn from_code(code: &str) -> Option<Self>
pub const fn from_code(code: &str) -> Option<Self>
The code with this name, if there is one.
Added in 0.2.0.
Sourcepub const fn summary(self) -> &'static str
pub const fn summary(self) -> &'static str
One lowercase sentence: what happened.
Added in 0.2.0.