pub trait NativeProof {
    // Required methods
    fn amount<Y, E>(&self, api: &mut Y) -> Result<Decimal, E>
       where E: Debug + ScryptoCategorize + ScryptoDecode,
             Y: ClientObjectApi<E>;
    fn resource_address<Y, E>(&self, api: &mut Y) -> Result<ResourceAddress, E>
       where E: Debug + ScryptoCategorize + ScryptoDecode,
             Y: ClientObjectApi<E>;
    fn clone<Y, E>(&self, api: &mut Y) -> Result<Proof, E>
       where E: Debug + ScryptoCategorize + ScryptoDecode,
             Y: ClientObjectApi<E>;
    fn drop<Y, E>(self, api: &mut Y) -> Result<(), E>
       where E: Debug + ScryptoCategorize + ScryptoDecode,
             Y: ClientApi<E>;
}

Required Methods§

fn amount<Y, E>(&self, api: &mut Y) -> Result<Decimal, E>

fn resource_address<Y, E>(&self, api: &mut Y) -> Result<ResourceAddress, E>

fn clone<Y, E>(&self, api: &mut Y) -> Result<Proof, E>

fn drop<Y, E>(self, api: &mut Y) -> Result<(), E>

Object Safety§

This trait is not object safe.

Implementors§