Struct fluence_app_service::AppService [−][src]
pub struct AppService { /* fields omitted */ }
Implementations
impl AppService
[src]
impl AppService
[src]pub fn new<C, S>(
config: C,
service_id: S,
envs: HashMap<Vec<u8>, Vec<u8>>
) -> Result<Self, AppServiceError> where
C: TryInto<AppServiceConfig>,
S: Into<String>,
AppServiceError: From<C::Error>,
[src]
config: C,
service_id: S,
envs: HashMap<Vec<u8>, Vec<u8>>
) -> Result<Self, AppServiceError> where
C: TryInto<AppServiceConfig>,
S: Into<String>,
AppServiceError: From<C::Error>,
Create Service with given modules and service id.
pub fn call<S: AsRef<str>>(
&mut self,
func_name: S,
arguments: JValue,
call_parameters: CallParameters
) -> Result<JValue, AppServiceError>
[src]
&mut self,
func_name: S,
arguments: JValue,
call_parameters: CallParameters
) -> Result<JValue, AppServiceError>
Call a specified function of loaded module by its name.
pub fn get_interface(&self) -> ServiceInterface
[src]
Return interface (function signatures and record types) of this service.
Auto Trait Implementations
impl !RefUnwindSafe for AppService
impl !RefUnwindSafe for AppService
impl Send for AppService
impl Send for AppService
impl !Sync for AppService
impl !Sync for AppService
impl Unpin for AppService
impl Unpin for AppService
impl !UnwindSafe for AppService
impl !UnwindSafe for AppService