pub fn new(name: &str, bucket: &str, region: Region, db: OpticsDB) -> Self {
        let client = S3Client::new_with(
            HttpClient::new().unwrap(),
            EnvironmentProvider::default(),
            region.clone(),
        );
        Self {
            name: name.to_owned(),
            bucket: bucket.to_owned(),
            region,
            db,
            client,
        }
    }
/// Instantiate a new pusher with a region
Instantiate a new pusher with a region
Instantiate a new pusher with a region
pub fn new(name: &str, bucket: &str, region: Region, db: OpticsDB) -> Self {
        let client = S3Client::new_with(
            HttpClient::new().unwrap(),
            EnvironmentProvider::default(),
            region.clone(),
        );
        Self {
            name: name.to_owned(),
            bucket: bucket.to_owned(),
            region,
            db,
            client,
        }
    }
pub fn new ( name : & str , bucket : & str , region : Region , db : OpticsDB ) -> Self { let client = S3Client :: new_with ( HttpClient :: new ( ) . unwrap ( ) , EnvironmentProvider :: default ( ) , region . clone ( ) , ) ; Self { name : name . to_owned ( ) , bucket : bucket . to_owned ( ) , region , db , client , } }
Instantiate a new pusher with a region
Instantiate a new pusher with a region
name
&str
bucket
&str
region
Region
db
OpticsDB
name
&str
bucket
&str
region
Region
db
OpticsDB