pub async fn duplicate_buffer_collection_token(
    token: &mut BufferCollectionTokenProxy
) -> Result<ClientEnd<BufferCollectionTokenMarker>, Error>
Expand description

Calls BufferCollectionToken.Duplicate() on the provided token, passing the server end of a newly-instantiated channel. Then, calls Sync() on the provided token, so that the returned token is safe to use immediately (i.e. the server has acknowledged that the duplication has occurred).