[][src]Struct libabieos_sys::ABIEOS

pub struct ABIEOS { /* fields omitted */ }

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]

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]

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]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.