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
sourceimpl Debug for StorageClass
impl Debug for StorageClass
sourceimpl<'de> Deserialize<'de> for StorageClass
impl<'de> Deserialize<'de> for StorageClass
sourcefn 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
sourceimpl PartialEq<StorageClass> for StorageClass
impl PartialEq<StorageClass> for StorageClass
sourceimpl Serialize for StorageClass
impl Serialize for StorageClass
impl StructuralPartialEq for StorageClass
Auto Trait Implementations
impl RefUnwindSafe for StorageClass
impl Send for StorageClass
impl Sync for StorageClass
impl Unpin for StorageClass
impl UnwindSafe for StorageClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more