pub struct ABIEOS { /* private fields */ }Implementations§
Source§impl ABIEOS
impl ABIEOS
Sourcepub fn new_with_abi(contract_name: &str, abi: &str) -> Result<ABIEOS>
pub fn new_with_abi(contract_name: &str, abi: &str) -> Result<ABIEOS>
§Safety
make sure you call destroy after use
pub fn set_abi(&self, contract_name: &str, abi: &str) -> Result<bool>
pub fn str_to_name(&self, str_name: &str) -> Result<ABIName>
pub fn hex_to_json( &self, contract_name: &str, type_str: &str, hex: &[u8], ) -> Result<String>
pub fn bin_to_json( &self, contract_name: &str, type_str: &str, hex: &[u8], ) -> Result<String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ABIEOS
impl RefUnwindSafe for ABIEOS
impl !Send for ABIEOS
impl !Sync for ABIEOS
impl Unpin for ABIEOS
impl UnwindSafe for ABIEOS
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