pub async fn send_blob_fd<S: Session + ?Sized>(
session: &S,
descriptor: &SharedBlobDescriptor,
) -> Result<(), Error>Expand description
Send a blob’s file descriptor via the session layer.
For blobs backed by UnixFd, this sends the FD using SCM_RIGHTS.
For other blob types (FilePath, Named), this is a no-op since they don’t
require out-of-band FD transfer.
§Arguments
session- The session to use for FD transferdescriptor- The blob descriptor containing the FD to send
§Returns
Returns Ok(()) on success, or an error if FD transfer fails.