pub enum PatchModeSupport {
VirtualOnly,
PhysicalOnly,
Both,
}Expand description
Which patch modes an Addon is capable of supporting.
Variants§
VirtualOnly
Only supports launch-time virtual overlays (vpatch) and/or runtime hooks.
PhysicalOnly
Requires physical writes into the instance’s version.json.
Both
Supports both virtual overlays (vpatch) and physical version.json patching.
Trait Implementations§
Source§impl Clone for PatchModeSupport
impl Clone for PatchModeSupport
impl Copy for PatchModeSupport
Source§impl Debug for PatchModeSupport
impl Debug for PatchModeSupport
Source§impl Default for PatchModeSupport
impl Default for PatchModeSupport
Source§impl<'de> Deserialize<'de> for PatchModeSupport
impl<'de> Deserialize<'de> for PatchModeSupport
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 PatchModeSupport
Source§impl PartialEq for PatchModeSupport
impl PartialEq for PatchModeSupport
Source§impl Serialize for PatchModeSupport
impl Serialize for PatchModeSupport
impl StructuralPartialEq for PatchModeSupport
Auto Trait Implementations§
impl Forget for PatchModeSupport
impl Freeze for PatchModeSupport
impl Move for PatchModeSupport
impl RefUnwindSafe for PatchModeSupport
impl Send for PatchModeSupport
impl Sync for PatchModeSupport
impl Unpin for PatchModeSupport
impl UnsafeUnpin for PatchModeSupport
impl UnwindSafe for PatchModeSupport
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.