koushiro opened a new pull request, #6765: URL: https://github.com/apache/opendal/pull/6765
# Which issue does this PR close? Part of #6755 # Rationale for this change After merging #6764, the `Scheme` enum is no longer very useful, and is only used for the `Operator::via_iter` and `Operator::via_map` APIs. The `via_map` API has been replaced by `via_iter` and is now deprecated, while the `via_iter` API is used more in test scenarios. # What changes are included in this PR? - remove `Scheme` enum # Are there any user-facing changes? - remove `Scheme` enum - `Operator::via_iter(scheme: Scheme, iter: impl IntoIterator<Item = (String, String)>)` => `Operator::via_iter(scheme: &str, iter: impl IntoIterator<Item = (String, String)>)` - `Operator::via_map(scheme: Scheme, map: HashMap<String, String>)` => `Operator::via_map(scheme: &str, map: HashMap<String, String>)` - `OperatorInfo::scheme(&self) -> Scheme` => `Operator::scheme(&self) -> &'static str` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
