pub enum StorageBackendConfig {
Default,
File(FileBackendConfig),
Object(ObjectStorageConfig),
}Expand description
Backend storage configuration.
Variants§
Default
Use the default storage configuration.
This currently uses the local file system.
File(FileBackendConfig)
Use the local file system.
This uses ordinary system file operations.
Object(ObjectStorageConfig)
Object storage.
Trait Implementations§
Source§impl Clone for StorageBackendConfig
impl Clone for StorageBackendConfig
Source§fn clone(&self) -> StorageBackendConfig
fn clone(&self) -> StorageBackendConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StorageBackendConfig
impl Debug for StorageBackendConfig
Source§impl Default for StorageBackendConfig
impl Default for StorageBackendConfig
Source§fn default() -> StorageBackendConfig
fn default() -> StorageBackendConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StorageBackendConfig
impl<'de> Deserialize<'de> for StorageBackendConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for StorageBackendConfig
impl Display for StorageBackendConfig
Source§impl PartialEq for StorageBackendConfig
impl PartialEq for StorageBackendConfig
Source§impl Serialize for StorageBackendConfig
impl Serialize for StorageBackendConfig
Source§impl<'__s> ToSchema<'__s> for StorageBackendConfig
impl<'__s> ToSchema<'__s> for StorageBackendConfig
impl Eq for StorageBackendConfig
impl StructuralPartialEq for StorageBackendConfig
Auto Trait Implementations§
impl Freeze for StorageBackendConfig
impl RefUnwindSafe for StorageBackendConfig
impl Send for StorageBackendConfig
impl Sync for StorageBackendConfig
impl Unpin for StorageBackendConfig
impl UnwindSafe for StorageBackendConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.