pub struct KeepOldestStrategy {
pub down_if_alone: bool,
}Expand description
KeepOldest: the side containing the oldest (lowest up_number) up member survives.
Fields§
§down_if_alone: boolTrait Implementations§
Source§impl Clone for KeepOldestStrategy
impl Clone for KeepOldestStrategy
Source§fn clone(&self) -> KeepOldestStrategy
fn clone(&self) -> KeepOldestStrategy
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 KeepOldestStrategy
impl Debug for KeepOldestStrategy
Source§impl Default for KeepOldestStrategy
impl Default for KeepOldestStrategy
Source§fn default() -> KeepOldestStrategy
fn default() -> KeepOldestStrategy
Returns the “default value” for a type. Read more
Source§impl DowningStrategy for KeepOldestStrategy
impl DowningStrategy for KeepOldestStrategy
impl Copy for KeepOldestStrategy
Auto Trait Implementations§
impl Freeze for KeepOldestStrategy
impl RefUnwindSafe for KeepOldestStrategy
impl Send for KeepOldestStrategy
impl Sync for KeepOldestStrategy
impl Unpin for KeepOldestStrategy
impl UnsafeUnpin for KeepOldestStrategy
impl UnwindSafe for KeepOldestStrategy
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