pub struct ForceResyncPlan {
pub managed_base: PathBuf,
pub invalidations: Vec<InvalidationAction>,
pub refused: Vec<RefusedInvalidation>,
}Expand description
A safety-checked force-resync plan.
Fields§
§managed_base: PathBuf§invalidations: Vec<InvalidationAction>§refused: Vec<RefusedInvalidation>Implementations§
Source§impl ForceResyncPlan
impl ForceResyncPlan
Sourcepub fn has_refusals(&self) -> bool
pub fn has_refusals(&self) -> bool
True when at least one root was refused on safety grounds.
Trait Implementations§
Source§impl Clone for ForceResyncPlan
impl Clone for ForceResyncPlan
Source§impl Debug for ForceResyncPlan
impl Debug for ForceResyncPlan
Source§impl<'de> Deserialize<'de> for ForceResyncPlan
impl<'de> Deserialize<'de> for ForceResyncPlan
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
impl Eq for ForceResyncPlan
Source§impl PartialEq for ForceResyncPlan
impl PartialEq for ForceResyncPlan
Source§impl Serialize for ForceResyncPlan
impl Serialize for ForceResyncPlan
impl StructuralPartialEq for ForceResyncPlan
Auto Trait Implementations§
impl Freeze for ForceResyncPlan
impl RefUnwindSafe for ForceResyncPlan
impl Send for ForceResyncPlan
impl Sync for ForceResyncPlan
impl Unpin for ForceResyncPlan
impl UnsafeUnpin for ForceResyncPlan
impl UnwindSafe for ForceResyncPlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.