#[non_exhaustive]
pub enum Scheme {
Show 16 variants
Azblob,
Fs,
Gcs,
Hdfs,
Http,
Ftp,
Ipfs,
Ipmfs,
Memory,
Moka,
Obs,
Redis,
Rocksdb,
S3,
Oss,
Custom(&'static str),
}
Expand description
Services that OpenDAL supports
Notes
- Scheme is
non_exhaustive
, new variant COULD be added at any time. - New variant SHOULD be added in alphabet orders,
- Users MUST NOT relay on its order.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Azblob
azblob: Azure Storage Blob services.
Fs
fs: POSIX alike file system.
Gcs
gcs: Google Cloud Storage backend.
Hdfs
hdfs: Hadoop Distributed File System.
Http
http: HTTP backend.
Ftp
ftp: FTP backend.
Ipfs
ipmfs: IPFS HTTP Gateway
Ipmfs
ipmfs: IPFS mutable file system
Memory
memory: In memory backend support.
Moka
moka: moka backend support.
Obs
obs: Huawei Cloud OBS services.
Redis
redis: Redis services
Rocksdb
rocksdb: RocksDB services
S3
s3: AWS S3 alike services.
Oss
oss: Aliyun Object Storage Services
Custom(&'static str)
Custom that allow users to implement services outside of OpenDAL.
NOTE
- Custom must not overwrite any existing services name.
- Custom must be lowed cases.
Implementations
sourceimpl Scheme
impl Scheme
sourcepub fn into_static(self) -> &'static str
pub fn into_static(self) -> &'static str
Convert self into static str.
Trait Implementations
impl Copy for Scheme
impl Eq for Scheme
impl StructuralEq for Scheme
impl StructuralPartialEq for Scheme
Auto Trait Implementations
impl RefUnwindSafe for Scheme
impl Send for Scheme
impl Sync for Scheme
impl Unpin for Scheme
impl UnwindSafe for Scheme
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.