#[repr(C)]pub struct BlockdevOptionsQuorum {
pub has_blkverify: bool,
pub blkverify: bool,
pub children: *mut BlockdevRefList,
pub vote_threshold: i64,
pub has_rewrite_corrupted: bool,
pub rewrite_corrupted: bool,
pub has_read_pattern: bool,
pub read_pattern: u32,
}Fields§
§has_blkverify: bool§blkverify: bool§children: *mut BlockdevRefList§vote_threshold: i64§has_rewrite_corrupted: bool§rewrite_corrupted: bool§has_read_pattern: bool§read_pattern: u32Trait Implementations§
Source§impl Clone for BlockdevOptionsQuorum
impl Clone for BlockdevOptionsQuorum
Source§fn clone(&self) -> BlockdevOptionsQuorum
fn clone(&self) -> BlockdevOptionsQuorum
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BlockdevOptionsQuorum
Auto Trait Implementations§
impl !Send for BlockdevOptionsQuorum
impl !Sync for BlockdevOptionsQuorum
impl Freeze for BlockdevOptionsQuorum
impl RefUnwindSafe for BlockdevOptionsQuorum
impl Unpin for BlockdevOptionsQuorum
impl UnsafeUnpin for BlockdevOptionsQuorum
impl UnwindSafe for BlockdevOptionsQuorum
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