pub struct LeaseMajorityStrategy {
pub lease_acquired: bool,
}Expand description
LeaseMajority: majority decision gated by an external lease. In-memory simulation of whether a lease was acquired.
Fields§
§lease_acquired: boolTrait Implementations§
Source§impl Clone for LeaseMajorityStrategy
impl Clone for LeaseMajorityStrategy
Source§fn clone(&self) -> LeaseMajorityStrategy
fn clone(&self) -> LeaseMajorityStrategy
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 moreSource§impl Debug for LeaseMajorityStrategy
impl Debug for LeaseMajorityStrategy
Source§impl Default for LeaseMajorityStrategy
impl Default for LeaseMajorityStrategy
Source§fn default() -> LeaseMajorityStrategy
fn default() -> LeaseMajorityStrategy
Returns the “default value” for a type. Read more
impl Copy for LeaseMajorityStrategy
Auto Trait Implementations§
impl Freeze for LeaseMajorityStrategy
impl RefUnwindSafe for LeaseMajorityStrategy
impl Send for LeaseMajorityStrategy
impl Sync for LeaseMajorityStrategy
impl Unpin for LeaseMajorityStrategy
impl UnsafeUnpin for LeaseMajorityStrategy
impl UnwindSafe for LeaseMajorityStrategy
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