[−][src]Struct libabieos_sys::ABIEOS
Implementations
impl ABIEOS
[src]
pub unsafe fn new() -> ABIEOS
[src]
Safety
make sure you destroy this after use
pub unsafe fn new_with_abi(contract_name: &str, abi: &str) -> Result<ABIEOS>
[src]
Safety
make sure you destroy this after use
pub unsafe fn destroy(&self)
[src]
Safety
after destroy, don't use any other function
pub unsafe fn set_abi(&self, contract_name: &str, abi: &str) -> Result<bool>
[src]
Safety
make sure you destroy this after use
pub unsafe fn str_to_name(&self, str_name: &str) -> Result<u64>
[src]
Safety
make sure you destroy this after use
pub unsafe fn hex_to_json(
&self,
contract_name: &str,
type_str: &str,
hex: &[u8]
) -> Result<String>
[src]
&self,
contract_name: &str,
type_str: &str,
hex: &[u8]
) -> Result<String>
Safety
make sure you destroy this after use
pub unsafe fn bin_to_json(
&self,
contract_name: &str,
type_str: &str,
hex: &[u8]
) -> Result<String>
[src]
&self,
contract_name: &str,
type_str: &str,
hex: &[u8]
) -> Result<String>
Safety
make sure you destroy this after use
pub unsafe fn json_to_hex(
&self,
contract_name: &str,
type_str: &str,
json: &str
) -> Result<&str>
[src]
&self,
contract_name: &str,
type_str: &str,
json: &str
) -> Result<&str>
Safety
make sure you destroy this after use
Auto Trait Implementations
impl RefUnwindSafe for ABIEOS
impl !Send for ABIEOS
impl !Sync for ABIEOS
impl Unpin for ABIEOS
impl UnwindSafe for ABIEOS
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,