pub enum BatchReadRequest {
Path(String),
FileId {
id: i32,
hint: FileIdHint,
},
}Expand description
One file to read in a batch: either by CASC path, or by WoW-style FileDataId.
Variants§
Path(String)
Read by CASC path, e.g. "Base\\creatures\\beast\\beast.m2".
FileId
Read by FileDataId, with a sub-type hint for the lookup.
Fields
§
hint: FileIdHintWhich entry to pick when the id maps to several.
Implementations§
Trait Implementations§
Source§impl Clone for BatchReadRequest
impl Clone for BatchReadRequest
Source§fn clone(&self) -> BatchReadRequest
fn clone(&self) -> BatchReadRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BatchReadRequest
impl Debug for BatchReadRequest
impl Eq for BatchReadRequest
Source§impl PartialEq for BatchReadRequest
impl PartialEq for BatchReadRequest
impl StructuralPartialEq for BatchReadRequest
Auto Trait Implementations§
impl Freeze for BatchReadRequest
impl RefUnwindSafe for BatchReadRequest
impl Send for BatchReadRequest
impl Sync for BatchReadRequest
impl Unpin for BatchReadRequest
impl UnsafeUnpin for BatchReadRequest
impl UnwindSafe for BatchReadRequest
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