pub async fn send_producer_blob_fd<S: Session>(
session: &S,
blob: &ProducerBlob,
) -> Result<(), Error>Expand description
Send a producer blob with its FD via the session layer.
This combines sending the blob’s metadata (via control plane messages) with
sending the underlying FD (via SCM_RIGHTS for Unix FD-backed blobs).
§Protocol
The caller should:
- Send a control message containing the
BlobTokenandSharedBlobDescriptor - Call this function to send the FD out-of-band (for
UnixFddescriptors)
§Arguments
session- The session to use for FD transferblob- The producer blob to send
§Returns
Returns Ok(()) on success.