pub struct StorageInfo {
pub build_name: String,
pub product: String,
pub version: String,
pub encoding_entries: usize,
pub root_entries: usize,
pub root_format: String,
pub index_entries: usize,
pub listfile_entries: usize,
}Expand description
High-level storage info.
Fields§
§build_name: StringBuild name string from the build config (e.g. "WOW-12345patch1.2.3").
product: StringProduct identifier from .build.info (e.g. "wow", "wow_classic").
version: StringClient version string (e.g. "12.0.1.66192").
encoding_entries: usizeNumber of entries in the encoding table.
root_entries: usizeTotal number of root file entries across all blocks.
root_format: StringDetected root file format as a display string ("Legacy", "MfstV1", "MfstV2").
index_entries: usizeNumber of entries in the CASC index.
listfile_entries: usizeNumber of entries in the loaded listfile.
Auto Trait Implementations§
impl Freeze for StorageInfo
impl RefUnwindSafe for StorageInfo
impl Send for StorageInfo
impl Sync for StorageInfo
impl Unpin for StorageInfo
impl UnsafeUnpin for StorageInfo
impl UnwindSafe for StorageInfo
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more