pub struct ChunkedModule {
pub wasm_module_hash: Vec<u8>,
pub store_canister_id: CanisterId,
pub chunk_hashes_list: Vec<Vec<u8>>,
}Expand description
Holds the meta-information needed for a chunked WASM install.
Fields§
§wasm_module_hash: Vec<u8>SHA-256 hash of the entire WASM to be installed.
store_canister_id: CanisterIdThe canister storing the chunks (must be on the same subnet).
chunk_hashes_list: Vec<Vec<u8>>The list of chunk hashes that compose the WASM.
Trait Implementations§
Source§impl Clone for ChunkedModule
impl Clone for ChunkedModule
Source§fn clone(&self) -> ChunkedModule
fn clone(&self) -> ChunkedModule
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ChunkedModule
impl RefUnwindSafe for ChunkedModule
impl Send for ChunkedModule
impl Sync for ChunkedModule
impl Unpin for ChunkedModule
impl UnsafeUnpin for ChunkedModule
impl UnwindSafe for ChunkedModule
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