Enum qapi_qmp::SheepdogRedundancy [−][src]
pub enum SheepdogRedundancy { erasure_coded { erasure_coded: SheepdogRedundancyErasureCoded, }, full { full: SheepdogRedundancyFull, }, }
Variants
erasure_coded
Fields of erasure_coded
erasure_coded: SheepdogRedundancyErasureCoded |
full
Fields of full
full: SheepdogRedundancyFull |
Methods
impl SheepdogRedundancy
[src]
impl SheepdogRedundancy
pub fn type_(&self) -> SheepdogRedundancyType
[src]
pub fn type_(&self) -> SheepdogRedundancyType
Trait Implementations
impl Debug for SheepdogRedundancy
[src]
impl Debug for SheepdogRedundancy
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for SheepdogRedundancy
[src]
impl Clone for SheepdogRedundancy
fn clone(&self) -> SheepdogRedundancy
[src]
fn clone(&self) -> SheepdogRedundancy
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for SheepdogRedundancy
impl Send for SheepdogRedundancy
impl Sync for SheepdogRedundancy
impl Sync for SheepdogRedundancy