pub struct WasmReport {
pub imports: Vec<String>,
pub memory_grow_flag: bool,
pub ei_check: bool,
pub code: CodeReport,
pub forbidden_opcodes: BTreeMap<String, BTreeSet<String>>,
}
Fields§
§imports: Vec<String>
§memory_grow_flag: bool
§ei_check: bool
§code: CodeReport
§forbidden_opcodes: BTreeMap<String, BTreeSet<String>>
Implementations§
Source§impl WasmReport
impl WasmReport
pub fn add_forbidden_opcode_accessible_from_endpoint( &mut self, endpoint_name: String, opcode_name: String, )
Trait Implementations§
Source§impl Clone for WasmReport
impl Clone for WasmReport
Source§fn clone(&self) -> WasmReport
fn clone(&self) -> WasmReport
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 moreSource§impl Debug for WasmReport
impl Debug for WasmReport
Source§impl Default for WasmReport
impl Default for WasmReport
Source§fn default() -> WasmReport
fn default() -> WasmReport
Returns the “default value” for a type. Read more
Source§impl PartialEq for WasmReport
impl PartialEq for WasmReport
impl Eq for WasmReport
impl StructuralPartialEq for WasmReport
Auto Trait Implementations§
impl Freeze for WasmReport
impl RefUnwindSafe for WasmReport
impl Send for WasmReport
impl Sync for WasmReport
impl Unpin for WasmReport
impl UnwindSafe for WasmReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.