pub struct BatchFile {
pub path_hash: u64,
pub decoded_layer_index: u32,
pub bytes: Vec<u8>,
}Expand description
Host-side file input for batch construction.
Fields§
§path_hash: u64Stable hash of the file path.
decoded_layer_index: u32Decoded-layer index this file belongs to.
bytes: Vec<u8>Raw file bytes.
Implementations§
Trait Implementations§
impl Eq for BatchFile
impl StructuralPartialEq for BatchFile
Auto Trait Implementations§
impl Freeze for BatchFile
impl RefUnwindSafe for BatchFile
impl Send for BatchFile
impl Sync for BatchFile
impl Unpin for BatchFile
impl UnsafeUnpin for BatchFile
impl UnwindSafe for BatchFile
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,
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.