pub struct WasmDownloadRequest { /* private fields */ }Expand description
Declarative request descriptor for downloading and executing a dynamic .wasm module.
Implementations§
Source§impl WasmDownloadRequest
Fluent builder helpers for WasmDownloadRequest.
impl WasmDownloadRequest
Fluent builder helpers for WasmDownloadRequest.
Sourcepub fn with_checksum(self, checksum: u64) -> Self
pub fn with_checksum(self, checksum: u64) -> Self
Sourcepub fn with_signature(self, signature: String) -> Self
pub fn with_signature(self, signature: String) -> Self
Sourcepub fn with_allow_downgrade(self, allow: bool) -> Self
pub fn with_allow_downgrade(self, allow: bool) -> Self
Sourcepub fn resolved_cache_key(&self) -> &str
pub fn resolved_cache_key(&self) -> &str
Source§impl WasmDownloadRequest
impl WasmDownloadRequest
pub fn get_url(&self) -> &String
pub fn get_mut_url(&mut self) -> &mut String
pub fn set_url(&mut self, val: String) -> &mut Self
pub fn get_scope(&self) -> &WasmDynamicScope
pub fn get_mut_scope(&mut self) -> &mut WasmDynamicScope
pub fn set_scope(&mut self, val: WasmDynamicScope) -> &mut Self
pub fn get_version(&self) -> u64
pub fn get_mut_version(&mut self) -> &mut u64
pub fn set_version(&mut self, val: u64) -> &mut Self
pub fn get_expected_checksum(&self) -> u64
pub fn get_mut_expected_checksum(&mut self) -> &mut u64
pub fn set_expected_checksum(&mut self, val: u64) -> &mut Self
pub fn get_expected_signature(&self) -> &String
pub fn get_mut_expected_signature(&mut self) -> &mut String
pub fn set_expected_signature(&mut self, val: String) -> &mut Self
pub fn get_allow_downgrade(&self) -> bool
pub fn get_mut_allow_downgrade(&mut self) -> &mut bool
pub fn set_allow_downgrade(&mut self, val: bool) -> &mut Self
pub fn get_cache_key(&self) -> &String
pub fn get_mut_cache_key(&mut self) -> &mut String
pub fn set_cache_key(&mut self, val: String) -> &mut Self
Source§impl WasmDownloadRequest
impl WasmDownloadRequest
pub fn new(url: String, scope: WasmDynamicScope, version: u64) -> Self
Trait Implementations§
Source§impl Clone for WasmDownloadRequest
impl Clone for WasmDownloadRequest
Source§impl Debug for WasmDownloadRequest
impl Debug for WasmDownloadRequest
impl Eq for WasmDownloadRequest
Source§impl Hash for WasmDownloadRequest
impl Hash for WasmDownloadRequest
Source§impl PartialEq for WasmDownloadRequest
impl PartialEq for WasmDownloadRequest
impl StructuralPartialEq for WasmDownloadRequest
Auto Trait Implementations§
impl Forget for WasmDownloadRequest
impl Freeze for WasmDownloadRequest
impl Move for WasmDownloadRequest
impl RefUnwindSafe for WasmDownloadRequest
impl Send for WasmDownloadRequestwhere
RawVecInner: Send,
impl Sync for WasmDownloadRequestwhere
RawVecInner: Sync,
impl Unpin for WasmDownloadRequest
impl UnsafeUnpin for WasmDownloadRequest
impl UnwindSafe for WasmDownloadRequestwhere
RawVecInner: UnwindSafe,
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