### Basic Usage: Check Bucket Existence with MinIO Rust SDK Source: https://docs.rs/minio/0.3.0/crates/minio Demonstrates how to use the MinIO Rust SDK to check if a bucket exists. It initializes a client, calls the `bucket_exists` method, and prints the result. Requires the `minio` and `tokio` crates. ```rust use minio::s3::Client; use minio::s3::types::S3Api; use minio::s3::response::BucketExistsResponse; #[tokio::main] async fn main() { let client: Client = Default::default(); // configure your client let exists: BucketExistsResponse = client .bucket_exists("my-bucket") .send() .await .expect("request failed"); println!("Bucket exists: {}", exists.exists); } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.