Enum cloud_storage::bucket::StorageClass
source · pub enum StorageClass {
Standard,
Nearline,
Coldline,
MultiRegional,
Regional,
DurableReducedAvailability,
}
Expand description
The type of storage that is used. Pertains to availability, performance and cost.
Variants§
Standard
Standard Storage is best for data that is frequently accessed (“hot” data) and/or stored for only brief periods of time.
Nearline
Nearline Storage is a low-cost, highly durable storage service for storing infrequently accessed data.
Coldline
Coldline Storage is a very-low-cost, highly durable storage service for data archiving, online backup, and disaster recovery.
MultiRegional
Equivalent to Standard Storage, except Multi-Regional Storage can only be used for objects stored in multi-regions or dual-regions.
Regional
Equivalent to Standard Storage, except Regional Storage can only be used for objects stored in regions.
DurableReducedAvailability
Similar to Standard Storage except:
DRA has higher pricing for operations. DRA has lower performance, particularly in terms of availability (DRA has a 99% availability SLA).
You can move your data from DRA to other storage classes by performing a storage transfer.
Trait Implementations§
source§impl Debug for StorageClass
impl Debug for StorageClass
source§impl<'de> Deserialize<'de> for StorageClass
impl<'de> Deserialize<'de> for StorageClass
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>,
source§impl PartialEq for StorageClass
impl PartialEq for StorageClass
source§fn eq(&self, other: &StorageClass) -> bool
fn eq(&self, other: &StorageClass) -> bool
self
and other
values to be equal, and is used
by ==
.