pub enum AddonPatchMode {
Inherit,
Virtual,
Physical,
}Expand description
Per-addon patch mode preference, monotonically constrained by the instance-level PatchMode.
Variants§
Inherit
Follow the instance’s PatchMode policy (default).
Virtual
Force virtual patching (vpatch) regardless of a Physical instance policy.
Physical
Request physical patching into version.json (rejected if instance policy is Virtual).
Trait Implementations§
Source§impl Clone for AddonPatchMode
impl Clone for AddonPatchMode
impl Copy for AddonPatchMode
Source§impl Debug for AddonPatchMode
impl Debug for AddonPatchMode
Source§impl Default for AddonPatchMode
impl Default for AddonPatchMode
Source§impl<'de> Deserialize<'de> for AddonPatchMode
impl<'de> Deserialize<'de> for AddonPatchMode
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 AddonPatchMode
Source§impl PartialEq for AddonPatchMode
impl PartialEq for AddonPatchMode
Source§impl Serialize for AddonPatchMode
impl Serialize for AddonPatchMode
impl StructuralPartialEq for AddonPatchMode
Auto Trait Implementations§
impl Forget for AddonPatchMode
impl Freeze for AddonPatchMode
impl Move for AddonPatchMode
impl RefUnwindSafe for AddonPatchMode
impl Send for AddonPatchMode
impl Sync for AddonPatchMode
impl Unpin for AddonPatchMode
impl UnsafeUnpin for AddonPatchMode
impl UnwindSafe for AddonPatchMode
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§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.