#[non_exhaustive]pub enum PatchType {
GameData,
Boot,
Other([u8; 4]),
}Expand description
4-byte ASCII patch-type tag carried by a FHDR chunk.
In retail FFXIV patches this is always D000 (game-data) or H000
(boot/header). The variant is kept open via #[non_exhaustive] and the
Other arm so future tags surface unchanged for diagnostics.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
GameData
D000 — game-data patch.
Boot
H000 — boot/header patch.
Other([u8; 4])
Any other 4-byte ASCII tag, preserved verbatim.
Implementations§
Trait Implementations§
impl Eq for PatchType
impl StructuralPartialEq for PatchType
Auto Trait Implementations§
impl Freeze for PatchType
impl RefUnwindSafe for PatchType
impl Send for PatchType
impl Sync for PatchType
impl Unpin for PatchType
impl UnsafeUnpin for PatchType
impl UnwindSafe for PatchType
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