pub struct WasmCachedEntry { /* private fields */ }Expand description
Verified .wasm binary cached locally for instant reload and offline fallback.
Implementations§
Source§impl WasmCachedEntry
impl WasmCachedEntry
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_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_checksum(&self) -> u64
pub fn get_mut_checksum(&mut self) -> &mut u64
pub fn set_checksum(&mut self, val: u64) -> &mut Self
pub fn get_bytes(&self) -> &Vec<u8> ⓘ
pub fn get_mut_bytes(&mut self) -> &mut Vec<u8> ⓘ
pub fn set_bytes(&mut self, val: Vec<u8>) -> &mut Self
pub fn get_etag(&self) -> &String
pub fn get_mut_etag(&mut self) -> &mut String
pub fn set_etag(&mut self, val: String) -> &mut Self
Trait Implementations§
Source§impl Clone for WasmCachedEntry
impl Clone for WasmCachedEntry
Source§impl Debug for WasmCachedEntry
impl Debug for WasmCachedEntry
impl Eq for WasmCachedEntry
Source§impl PartialEq for WasmCachedEntry
impl PartialEq for WasmCachedEntry
impl StructuralPartialEq for WasmCachedEntry
Auto Trait Implementations§
impl Forget for WasmCachedEntry
impl Freeze for WasmCachedEntry
impl Move for WasmCachedEntry
impl RefUnwindSafe for WasmCachedEntry
impl Send for WasmCachedEntry
impl Sync for WasmCachedEntry
impl Unpin for WasmCachedEntry
impl UnsafeUnpin for WasmCachedEntry
impl UnwindSafe for WasmCachedEntry
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