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§impl Serialize for StorageClass
impl Serialize for StorageClass
impl StructuralPartialEq for StorageClass
Auto Trait Implementations§
impl Freeze for StorageClass
impl RefUnwindSafe for StorageClass
impl Send for StorageClass
impl Sync for StorageClass
impl Unpin for StorageClass
impl UnwindSafe for StorageClass
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more