type === "serverSideCopy" — the S3 server-side CopyObject API succeeded.
type === "fallbackUsed" — cross-account detected; download+upload fallback was used.
OCP: new variants (asyncTransferQueued, …) may be added without breaking
existing call sites that switch on type.
Discriminated result returned by
objectCopy.type === "serverSideCopy"— the S3 server-side CopyObject API succeeded.type === "fallbackUsed"— cross-account detected; download+upload fallback was used.OCP: new variants (
asyncTransferQueued, …) may be added without breaking existing call sites that switch ontype.Mirrors
src-tauri/src/s3/object.rsCopyOutcome.