Skip to main content

Module upload

Module upload 

Source
Expand description

Cooperative byte transfer for SST uploads. Callers own close, abort, and file cleanup.

Structsยง

CancelledSnafu ๐Ÿ”’
SNAFU context selector for the UploadError::Cancelled variant
ReadSnafu ๐Ÿ”’
SNAFU context selector for the UploadError::Read variant
WriteSnafu ๐Ÿ”’
SNAFU context selector for the UploadError::Write variant

Enumsยง

UploadError ๐Ÿ”’
Preserves read/write attribution until the caller adds its file context.

Functionsยง

copy ๐Ÿ”’
Copies chunks without dropping an in-flight write when cancellation arrives.
write ๐Ÿ”’
Writes bounded, zero-copy slices, awaiting each started write to completion.
write_chunks ๐Ÿ”’