pub struct DisableResult {
pub forced_over_dependents: Vec<String>,
}Expand description
Result of a successful plugin disable operation.
When --force is used and dependents exist, the disable proceeds and the list of
overridden dependents is returned so callers can surface a warning to the user.
Fields§
§forced_over_dependents: Vec<String>Names of enabled plugins that depended on the disabled plugin.
Non-empty only when the operation was forced past a dependency guard. Callers should warn the user that these plugins may misbehave until re-enabled.
Trait Implementations§
Source§impl Debug for DisableResult
impl Debug for DisableResult
Source§impl Default for DisableResult
impl Default for DisableResult
Source§fn default() -> DisableResult
fn default() -> DisableResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DisableResult
impl RefUnwindSafe for DisableResult
impl Send for DisableResult
impl Sync for DisableResult
impl Unpin for DisableResult
impl UnsafeUnpin for DisableResult
impl UnwindSafe for DisableResult
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