pub fn new_from_env(account: String, container: String) -> Result<Self, ChiconError> {
        let mut runtime = Runtime::new().expect("cannot create a tokio runtime");
        let adapter = Adapter::from_env(OBJECT_STORAGE)?;

        runtime.block_on(adapter.put_empty(vec![account.clone(), container.clone()], None))?;

        Ok(SwiftFileSystem { account, container, adapter })
    }
/// Create a swift file system based on environment variable OS_*
Create a swift file system based on environment variable OS_
Create a swift file system based on environment variable OS_
pub fn new_from_env(account: String, container: String) -> Result<Self, ChiconError> {
        let mut runtime = Runtime::new().expect("cannot create a tokio runtime");
        let adapter = Adapter::from_env(OBJECT_STORAGE)?;
        runtime.block_on(adapter.put_empty(vec![account.clone(), container.clone()], None))?;
        Ok(SwiftFileSystem { account, container, adapter })
    }
pub fn new_from_env ( account : String , container : String ) -> Result < Self , ChiconError > { let mut runtime = Runtime :: new ( ) . expect ( " " ) ; let adapter = Adapter :: from_env ( OBJECT_STORAGE ) ? ; runtime . block_on ( adapter . put_empty ( vec ! [ account clone ( ) container clone ( ) ] , None ) ) ? ; Ok ( SwiftFileSystem { account , container , adapter } ) }
Create a swift file system based on environment variable OS_
Create a swift file system based on environment variable OS_
account
String
container
String