pub enum DataRedundancyType {
LRS,
ZRS,
}Expand description
指定存储空间的数据容灾类型
Variants§
LRS
本地冗余LRS将您的数据冗余存储在同一个可用区的不同存储设备上,可支持两个存储设备并发损坏时,仍维持数据不丢失,可正常访问
ZRS
同城冗余ZRS采用多可用区(AZ)内的数据冗余存储机制,将用户的数据冗余存储在同一地域(Region)的多个可用区。当某个可用区不可用时,仍然能够保障数据的正常访问
Trait Implementations§
Source§impl Clone for DataRedundancyType
impl Clone for DataRedundancyType
Source§fn clone(&self) -> DataRedundancyType
fn clone(&self) -> DataRedundancyType
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 DataRedundancyType
impl Debug for DataRedundancyType
Source§impl Default for DataRedundancyType
impl Default for DataRedundancyType
Source§fn default() -> DataRedundancyType
fn default() -> DataRedundancyType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DataRedundancyType
impl<'de> Deserialize<'de> for DataRedundancyType
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
Auto Trait Implementations§
impl Freeze for DataRedundancyType
impl RefUnwindSafe for DataRedundancyType
impl Send for DataRedundancyType
impl Sync for DataRedundancyType
impl Unpin for DataRedundancyType
impl UnwindSafe for DataRedundancyType
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