pub struct WasmFetchedPayload { /* private fields */ }Expand description
Raw downloaded .wasm payload returned by a WasmFetcher implementation.
Implementations§
Source§impl WasmFetchedPayload
impl WasmFetchedPayload
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
pub fn get_from_cache(&self) -> bool
pub fn get_mut_from_cache(&mut self) -> &mut bool
pub fn set_from_cache(&mut self, val: bool) -> &mut Self
Trait Implementations§
Source§impl Clone for WasmFetchedPayload
impl Clone for WasmFetchedPayload
Source§impl Debug for WasmFetchedPayload
impl Debug for WasmFetchedPayload
impl Eq for WasmFetchedPayload
Source§impl PartialEq for WasmFetchedPayload
impl PartialEq for WasmFetchedPayload
impl StructuralPartialEq for WasmFetchedPayload
Auto Trait Implementations§
impl Forget for WasmFetchedPayload
impl Freeze for WasmFetchedPayload
impl Move for WasmFetchedPayload
impl RefUnwindSafe for WasmFetchedPayload
impl Send for WasmFetchedPayloadwhere
RawVecInner: Send,
impl Sync for WasmFetchedPayloadwhere
RawVecInner: Sync,
impl Unpin for WasmFetchedPayload
impl UnsafeUnpin for WasmFetchedPayload
impl UnwindSafe for WasmFetchedPayloadwhere
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