[][src]Trait wascc_actor::RawCapability

pub trait RawCapability {
    fn call(&self, capid: &str, operation: &str, msg: &[u8]) -> Result<Vec<u8>>;
}

A loosely typed, opaque client consuming a capability provider in the host runtime

Required methods

fn call(&self, capid: &str, operation: &str, msg: &[u8]) -> Result<Vec<u8>>

Loading content...

Implementors

impl RawCapability for DefaultRawCapability[src]

fn call(&self, capid: &str, operation: &str, msg: &[u8]) -> Result<Vec<u8>>[src]

Performs a host call carrying an opaque binary payload. Only use this function if you know the host runtime is carrying a capability provider that can understand this payload

Loading content...