From 00f30ddba43fccf6d6697bc6a0112485b0ee65b6 Mon Sep 17 00:00:00 2001 From: Yoshua Wuyts Date: Mon, 14 Mar 2022 14:27:41 +0100 Subject: [PATCH] Use the new `IntoFuture` signature on nightly --- sdk/data_cosmos/src/operations/create_collection.rs | 2 +- sdk/data_cosmos/src/operations/create_database.rs | 2 +- sdk/data_cosmos/src/operations/create_document.rs | 2 +- sdk/data_cosmos/src/operations/create_or_replace_attachment.rs | 2 +- .../src/operations/create_or_replace_slug_attachment.rs | 2 +- sdk/data_cosmos/src/operations/create_or_replace_trigger.rs | 2 +- .../src/operations/create_or_replace_user_defined_function.rs | 2 +- sdk/data_cosmos/src/operations/create_permission.rs | 2 +- sdk/data_cosmos/src/operations/create_stored_procedure.rs | 2 +- sdk/data_cosmos/src/operations/create_user.rs | 2 +- sdk/data_cosmos/src/operations/delete_attachment.rs | 2 +- sdk/data_cosmos/src/operations/delete_collection.rs | 2 +- sdk/data_cosmos/src/operations/delete_database.rs | 2 +- sdk/data_cosmos/src/operations/delete_document.rs | 2 +- sdk/data_cosmos/src/operations/delete_permission.rs | 2 +- sdk/data_cosmos/src/operations/delete_stored_procedure.rs | 2 +- sdk/data_cosmos/src/operations/delete_trigger.rs | 2 +- sdk/data_cosmos/src/operations/delete_user.rs | 2 +- sdk/data_cosmos/src/operations/delete_user_defined_function.rs | 2 +- sdk/data_cosmos/src/operations/get_attachment.rs | 2 +- sdk/data_cosmos/src/operations/get_collection.rs | 2 +- sdk/data_cosmos/src/operations/get_database.rs | 2 +- sdk/data_cosmos/src/operations/get_partition_key_ranges.rs | 2 +- sdk/data_cosmos/src/operations/get_permission.rs | 2 +- sdk/data_cosmos/src/operations/get_user.rs | 2 +- sdk/data_cosmos/src/operations/replace_collection.rs | 2 +- sdk/data_cosmos/src/operations/replace_document.rs | 2 +- sdk/data_cosmos/src/operations/replace_permission.rs | 2 +- sdk/data_cosmos/src/operations/replace_stored_procedure.rs | 2 +- sdk/data_cosmos/src/operations/replace_user.rs | 2 +- 30 files changed, 30 insertions(+), 30 deletions(-) diff --git a/sdk/data_cosmos/src/operations/create_collection.rs b/sdk/data_cosmos/src/operations/create_collection.rs index 930207732b..4aee028ac6 100644 --- a/sdk/data_cosmos/src/operations/create_collection.rs +++ b/sdk/data_cosmos/src/operations/create_collection.rs @@ -73,7 +73,7 @@ impl CreateCollectionBuilder { #[cfg(feature = "into_future")] impl std::future::IntoFuture for CreateCollectionBuilder { - type Future = CreateCollection; + type IntoFuture = CreateCollection; type Output = ::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/create_database.rs b/sdk/data_cosmos/src/operations/create_database.rs index cb8f7423a0..1c724d0e43 100644 --- a/sdk/data_cosmos/src/operations/create_database.rs +++ b/sdk/data_cosmos/src/operations/create_database.rs @@ -66,7 +66,7 @@ impl CreateDatabaseBuilder { #[cfg(feature = "into_future")] impl std::future::IntoFuture for CreateDatabaseBuilder { - type Future = CreateDatabase; + type IntoFuture = CreateDatabase; type Output = ::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/create_document.rs b/sdk/data_cosmos/src/operations/create_document.rs index 380f5c889c..6d9c6bda13 100644 --- a/sdk/data_cosmos/src/operations/create_document.rs +++ b/sdk/data_cosmos/src/operations/create_document.rs @@ -101,7 +101,7 @@ pub type CreateDocument = impl std::future::IntoFuture for CreateDocumentBuilder { - type Future = CreateDocument; + type IntoFuture = CreateDocument; type Output = ::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/create_or_replace_attachment.rs b/sdk/data_cosmos/src/operations/create_or_replace_attachment.rs index 86593549d6..dea64d1f8e 100644 --- a/sdk/data_cosmos/src/operations/create_or_replace_attachment.rs +++ b/sdk/data_cosmos/src/operations/create_or_replace_attachment.rs @@ -90,7 +90,7 @@ pub type CreateOrReplaceAttachment = #[cfg(feature = "into_future")] impl std::future::IntoFuture for CreateOrReplaceAttachmentBuilder { - type Future = CreateOrReplaceAttachment; + type IntoFuture = CreateOrReplaceAttachment; type Output = ::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/create_or_replace_slug_attachment.rs b/sdk/data_cosmos/src/operations/create_or_replace_slug_attachment.rs index 7f8a80acb0..cc1fb5b3d7 100644 --- a/sdk/data_cosmos/src/operations/create_or_replace_slug_attachment.rs +++ b/sdk/data_cosmos/src/operations/create_or_replace_slug_attachment.rs @@ -96,7 +96,7 @@ pub type CreateOrReplaceSlugAttachment = #[cfg(feature = "into_future")] impl std::future::IntoFuture for CreateOrReplaceSlugAttachmentBuilder { - type Future = CreateOrReplaceSlugAttachment; + type IntoFuture = CreateOrReplaceSlugAttachment; type Output = ::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/create_or_replace_trigger.rs b/sdk/data_cosmos/src/operations/create_or_replace_trigger.rs index bfdcb0214b..e279195292 100644 --- a/sdk/data_cosmos/src/operations/create_or_replace_trigger.rs +++ b/sdk/data_cosmos/src/operations/create_or_replace_trigger.rs @@ -92,7 +92,7 @@ pub type CreateOrReplaceTrigger = #[cfg(feature = "into_future")] impl std::future::IntoFuture for CreateOrReplaceTriggerBuilder { - type Future = CreateOrReplaceTrigger; + type IntoFuture = CreateOrReplaceTrigger; type Output = ::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/create_or_replace_user_defined_function.rs b/sdk/data_cosmos/src/operations/create_or_replace_user_defined_function.rs index aaa6b59dd4..a0bfcb3f81 100644 --- a/sdk/data_cosmos/src/operations/create_or_replace_user_defined_function.rs +++ b/sdk/data_cosmos/src/operations/create_or_replace_user_defined_function.rs @@ -74,7 +74,7 @@ pub type CreateOrReplaceUserDefinedFunction = #[cfg(feature = "into_future")] impl std::future::IntoFuture for CreateOrReplaceUserDefinedFunctionBuilder { - type Future = CreateOrReplaceUserDefinedFunction; + type IntoFuture = CreateOrReplaceUserDefinedFunction; type Output = ::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/create_permission.rs b/sdk/data_cosmos/src/operations/create_permission.rs index 743b8c2d12..eb282e32f4 100644 --- a/sdk/data_cosmos/src/operations/create_permission.rs +++ b/sdk/data_cosmos/src/operations/create_permission.rs @@ -77,7 +77,7 @@ pub type CreatePermission = futures::future::BoxFuture<'static, crate::Result::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/create_stored_procedure.rs b/sdk/data_cosmos/src/operations/create_stored_procedure.rs index 84bb2a5119..19a2a3e2b0 100644 --- a/sdk/data_cosmos/src/operations/create_stored_procedure.rs +++ b/sdk/data_cosmos/src/operations/create_stored_procedure.rs @@ -62,7 +62,7 @@ impl CreateStoredProcedureBuilder { #[cfg(feature = "into_future")] impl std::future::IntoFuture for CreateStoredProcedureBuilder { - type Future = CreateStoredProcedure; + type IntoFuture = CreateStoredProcedure; type Output = ::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/create_user.rs b/sdk/data_cosmos/src/operations/create_user.rs index 4909710e2e..4120187965 100644 --- a/sdk/data_cosmos/src/operations/create_user.rs +++ b/sdk/data_cosmos/src/operations/create_user.rs @@ -56,7 +56,7 @@ pub type CreateUser = futures::future::BoxFuture<'static, crate::Result::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/delete_attachment.rs b/sdk/data_cosmos/src/operations/delete_attachment.rs index 9e83b6b31d..73582ca45a 100644 --- a/sdk/data_cosmos/src/operations/delete_attachment.rs +++ b/sdk/data_cosmos/src/operations/delete_attachment.rs @@ -66,7 +66,7 @@ pub type DeleteAttachment = #[cfg(feature = "into_future")] impl std::future::IntoFuture for DeleteAttachmentBuilder { - type Future = DeleteAttachment; + type IntoFuture = DeleteAttachment; type Output = ::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/delete_collection.rs b/sdk/data_cosmos/src/operations/delete_collection.rs index 1a52fc1bb1..c370386f5a 100644 --- a/sdk/data_cosmos/src/operations/delete_collection.rs +++ b/sdk/data_cosmos/src/operations/delete_collection.rs @@ -53,7 +53,7 @@ pub type DeleteCollection = #[cfg(feature = "into_future")] impl std::future::IntoFuture for DeleteCollectionBuilder { - type Future = DeleteCollection; + type IntoFuture = DeleteCollection; type Output = ::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/delete_database.rs b/sdk/data_cosmos/src/operations/delete_database.rs index 5e7fd11ce7..572ee2fed7 100644 --- a/sdk/data_cosmos/src/operations/delete_database.rs +++ b/sdk/data_cosmos/src/operations/delete_database.rs @@ -54,7 +54,7 @@ pub type DeleteDatabase = #[cfg(feature = "into_future")] impl std::future::IntoFuture for DeleteDatabaseBuilder { - type Future = DeleteDatabase; + type IntoFuture = DeleteDatabase; type Output = ::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/delete_document.rs b/sdk/data_cosmos/src/operations/delete_document.rs index 26691c2abb..a07f5cf967 100644 --- a/sdk/data_cosmos/src/operations/delete_document.rs +++ b/sdk/data_cosmos/src/operations/delete_document.rs @@ -73,7 +73,7 @@ pub type DeleteDocument = #[cfg(feature = "into_future")] impl std::future::IntoFuture for DeleteDocumentBuilder { - type Future = DeleteDocument; + type IntoFuture = DeleteDocument; type Output = ::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/delete_permission.rs b/sdk/data_cosmos/src/operations/delete_permission.rs index 971d7b0e0c..e7ec16ed3c 100644 --- a/sdk/data_cosmos/src/operations/delete_permission.rs +++ b/sdk/data_cosmos/src/operations/delete_permission.rs @@ -54,7 +54,7 @@ pub type DeletePermission = #[cfg(feature = "into_future")] impl std::future::IntoFuture for DeletePermissionBuilder { - type Future = DeletePermission; + type IntoFuture = DeletePermission; type Output = ::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/delete_stored_procedure.rs b/sdk/data_cosmos/src/operations/delete_stored_procedure.rs index ce8beead86..0cbfeb16b3 100644 --- a/sdk/data_cosmos/src/operations/delete_stored_procedure.rs +++ b/sdk/data_cosmos/src/operations/delete_stored_procedure.rs @@ -54,7 +54,7 @@ pub type DeleteStoredProcedure = #[cfg(feature = "into_future")] impl std::future::IntoFuture for DeleteStoredProcedureBuilder { - type Future = DeleteStoredProcedure; + type IntoFuture = DeleteStoredProcedure; type Output = ::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/delete_trigger.rs b/sdk/data_cosmos/src/operations/delete_trigger.rs index 71c594f112..201d2f2e22 100644 --- a/sdk/data_cosmos/src/operations/delete_trigger.rs +++ b/sdk/data_cosmos/src/operations/delete_trigger.rs @@ -55,7 +55,7 @@ pub type DeleteTrigger = futures::future::BoxFuture<'static, crate::Result::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/delete_user.rs b/sdk/data_cosmos/src/operations/delete_user.rs index d6371f9077..547b6a9888 100644 --- a/sdk/data_cosmos/src/operations/delete_user.rs +++ b/sdk/data_cosmos/src/operations/delete_user.rs @@ -49,7 +49,7 @@ pub type DeleteUser = futures::future::BoxFuture<'static, crate::Result::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/delete_user_defined_function.rs b/sdk/data_cosmos/src/operations/delete_user_defined_function.rs index 67d0c93ef9..63b31dbd2e 100644 --- a/sdk/data_cosmos/src/operations/delete_user_defined_function.rs +++ b/sdk/data_cosmos/src/operations/delete_user_defined_function.rs @@ -54,7 +54,7 @@ impl DeleteUserDefinedFunctionBuilder { #[cfg(feature = "into_future")] impl std::future::IntoFuture for DeleteUserDefinedFunctionBuilder { - type Future = DeleteUserDefinedFunction; + type IntoFuture = DeleteUserDefinedFunction; type Output = ::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/get_attachment.rs b/sdk/data_cosmos/src/operations/get_attachment.rs index 75cd3ac842..cbdb02c643 100644 --- a/sdk/data_cosmos/src/operations/get_attachment.rs +++ b/sdk/data_cosmos/src/operations/get_attachment.rs @@ -63,7 +63,7 @@ impl GetAttachmentBuilder { #[cfg(feature = "into_future")] impl std::future::IntoFuture for GetAttachmentBuilder { - type Future = GetAttachment; + type IntoFuture = GetAttachment; type Output = ::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/get_collection.rs b/sdk/data_cosmos/src/operations/get_collection.rs index 6707090e8a..636bded02f 100644 --- a/sdk/data_cosmos/src/operations/get_collection.rs +++ b/sdk/data_cosmos/src/operations/get_collection.rs @@ -55,7 +55,7 @@ pub type GetCollection = futures::future::BoxFuture<'static, crate::Result::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/get_database.rs b/sdk/data_cosmos/src/operations/get_database.rs index d211f780ac..e28bcfbda1 100644 --- a/sdk/data_cosmos/src/operations/get_database.rs +++ b/sdk/data_cosmos/src/operations/get_database.rs @@ -56,7 +56,7 @@ pub type GetDatabase = futures::future::BoxFuture<'static, crate::Result::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/get_partition_key_ranges.rs b/sdk/data_cosmos/src/operations/get_partition_key_ranges.rs index e70b3cbc9e..995b9f0fc5 100644 --- a/sdk/data_cosmos/src/operations/get_partition_key_ranges.rs +++ b/sdk/data_cosmos/src/operations/get_partition_key_ranges.rs @@ -69,7 +69,7 @@ pub type GetPartitionKeyRanges = #[cfg(feature = "into_future")] impl std::future::IntoFuture for GetPartitionKeyRangesBuilder { - type Future = GetPartitionKeyRanges; + type IntoFuture = GetPartitionKeyRanges; type Output = ::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/get_permission.rs b/sdk/data_cosmos/src/operations/get_permission.rs index 891d1eeb94..95173b8ed7 100644 --- a/sdk/data_cosmos/src/operations/get_permission.rs +++ b/sdk/data_cosmos/src/operations/get_permission.rs @@ -50,7 +50,7 @@ pub type GetPermission = futures::future::BoxFuture<'static, crate::Result::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/get_user.rs b/sdk/data_cosmos/src/operations/get_user.rs index 4f8deb4077..a3d70e54c5 100644 --- a/sdk/data_cosmos/src/operations/get_user.rs +++ b/sdk/data_cosmos/src/operations/get_user.rs @@ -49,7 +49,7 @@ pub type GetUser = futures::future::BoxFuture<'static, crate::Result::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/replace_collection.rs b/sdk/data_cosmos/src/operations/replace_collection.rs index 87490939d1..a00182fdde 100644 --- a/sdk/data_cosmos/src/operations/replace_collection.rs +++ b/sdk/data_cosmos/src/operations/replace_collection.rs @@ -69,7 +69,7 @@ pub type ReplaceCollection = #[cfg(feature = "into_future")] impl std::future::IntoFuture for ReplaceCollectionBuilder { - type Future = ReplaceCollection; + type IntoFuture = ReplaceCollection; type Output = ::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/replace_document.rs b/sdk/data_cosmos/src/operations/replace_document.rs index 92d7e0fe6c..b173518e48 100644 --- a/sdk/data_cosmos/src/operations/replace_document.rs +++ b/sdk/data_cosmos/src/operations/replace_document.rs @@ -95,7 +95,7 @@ pub type ReplaceDocument = #[cfg(feature = "into_future")] impl std::future::IntoFuture for ReplaceDocumentBuilder { - type Future = ReplaceDocument; + type IntoFuture = ReplaceDocument; type Output = ::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/replace_permission.rs b/sdk/data_cosmos/src/operations/replace_permission.rs index 6556ada261..ece31c1da9 100644 --- a/sdk/data_cosmos/src/operations/replace_permission.rs +++ b/sdk/data_cosmos/src/operations/replace_permission.rs @@ -72,7 +72,7 @@ pub type ReplacePermission = futures::future::BoxFuture<'static, crate::Result

::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/replace_stored_procedure.rs b/sdk/data_cosmos/src/operations/replace_stored_procedure.rs index 568e55c857..77909feb1c 100644 --- a/sdk/data_cosmos/src/operations/replace_stored_procedure.rs +++ b/sdk/data_cosmos/src/operations/replace_stored_procedure.rs @@ -61,7 +61,7 @@ impl ReplaceStoredProcedureBuilder { #[cfg(feature = "into_future")] impl std::future::IntoFuture for ReplaceStoredProcedureBuilder { - type Future = ReplaceStoredProcedure; + type IntoFuture = ReplaceStoredProcedure; type Output = ::Output; fn into_future(self) -> Self::Future { Self::into_future(self) diff --git a/sdk/data_cosmos/src/operations/replace_user.rs b/sdk/data_cosmos/src/operations/replace_user.rs index e5c9340b44..23dd2f6057 100644 --- a/sdk/data_cosmos/src/operations/replace_user.rs +++ b/sdk/data_cosmos/src/operations/replace_user.rs @@ -59,7 +59,7 @@ pub type ReplaceUser = futures::future::BoxFuture<'static, crate::Result::Output; fn into_future(self) -> Self::Future { Self::into_future(self)