Skip to main content

Crate kcode_server_object_envelopes

Crate kcode_server_object_envelopes 

Source
Expand description

Application payload envelopes stored by KennedyServer in opaque Kweb objects.

Structs§

Error
A rejected envelope input or invalid stored payload.
StoredArtifact
One object referenced by a stored provenance payload.
StoredFile
A decoded Kweb application file payload.
StoredProvenance
KennedyServer provenance stored as one opaque Kweb object payload.

Functions§

decode_file
Decodes one file payload without reading its Kweb object.
decode_provenance
Decodes one provenance payload without reading its Kweb object.
encode_file
Encodes one file payload without storing it.
encode_provenance
Encodes one provenance payload without storing it.
sanitize_file_name
Returns a bounded safe basename, sanitizing fallback by the same policy.

Type Aliases§

Result
Result type for envelope operations.