pub enum CloudBackend {}Expand description
Multi-cloud storage backend abstraction
Implementations§
Source§impl CloudBackend
impl CloudBackend
Sourcepub fn from_url(url: &str) -> Result<Self>
pub fn from_url(url: &str) -> Result<Self>
Creates a cloud backend from a URL
Supported URL formats:
s3://bucket/key- AWS S3az://container/blob- Azure Blob Storagegs://bucket/object- Google Cloud Storage<http://example.com/path>or<https://example.com/path>- HTTP/HTTPS
§Examples
use oxigdal_cloud::CloudBackend;
let backend = CloudBackend::from_url("s3://my-bucket/data/file.tif")?;Trait Implementations§
Auto Trait Implementations§
impl Freeze for CloudBackend
impl RefUnwindSafe for CloudBackend
impl Send for CloudBackend
impl Sync for CloudBackend
impl Unpin for CloudBackend
impl UnsafeUnpin for CloudBackend
impl UnwindSafe for CloudBackend
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more