pub struct RegistryWasmRecord { /* private fields */ }Expand description
Registered entry inside RegistryWasmFetcher for deterministic cross-platform CDN and fault simulation.
Implementations§
Source§impl RegistryWasmRecord
impl RegistryWasmRecord
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_fault(&self) -> WasmFaultKind
pub fn get_mut_fault(&mut self) -> &mut WasmFaultKind
pub fn set_fault(&mut self, val: WasmFaultKind) -> &mut Self
Trait Implementations§
Source§impl Clone for RegistryWasmRecord
impl Clone for RegistryWasmRecord
Source§impl Debug for RegistryWasmRecord
impl Debug for RegistryWasmRecord
impl Eq for RegistryWasmRecord
Source§impl PartialEq for RegistryWasmRecord
impl PartialEq for RegistryWasmRecord
impl StructuralPartialEq for RegistryWasmRecord
Auto Trait Implementations§
impl Forget for RegistryWasmRecord
impl Freeze for RegistryWasmRecord
impl Move for RegistryWasmRecord
impl RefUnwindSafe for RegistryWasmRecord
impl Send for RegistryWasmRecordwhere
RawVecInner: Send,
impl Sync for RegistryWasmRecordwhere
RawVecInner: Sync,
impl Unpin for RegistryWasmRecord
impl UnsafeUnpin for RegistryWasmRecord
impl UnwindSafe for RegistryWasmRecordwhere
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