pub fn new(bucket: String,
               credential_provider: Option<GCSCredentialProvider>,
               rw_mode: RWMode,
               handle: &Handle) -> Result<GCSCache>
    {
        Ok(GCSCache {
            bucket: Rc::new(Bucket::new(bucket, handle)?),
            rw_mode: rw_mode,
            credential_provider: credential_provider,
        })
    }
/// Create a new `GCSCache` storing data in `bucket`
Create a new `GCSCache` storing data in `bucket`
Create a new ` GCSCache ` storing data in ` bucket `
pub fn new(bucket: String,
               credential_provider: Option<GCSCredentialProvider>,
               rw_mode: RWMode,
               handle: &Handle) -> Result<GCSCache>
    {
        Ok(GCSCache {
            bucket: Rc::new(Bucket::new(bucket, handle)?),
            rw_mode: rw_mode,
            credential_provider: credential_provider,
        })
    }
pub fn new ( bucket : String , credential_provider : Option < GCSCredentialProvider > , rw_mode : RWMode , handle : & Handle ) -> Result < GCSCache > { Ok ( GCSCache { bucket : Rc :: new ( Bucket :: new ( bucket , handle ) ? ) , rw_mode : rw_mode , credential_provider : credential_provider , } ) }
Create a new `GCSCache` storing data in `bucket`
Create a new ` GCSCache ` storing data in ` bucket `
bucket
String
credential_provider
Option<GCSCredentialProvider>
rw_mode
RWMode
handle
&Handle