Struct libflo_std::Libflo
[−]
[src]
pub struct Libflo { /* fields omitted */ }
Methods
impl Libflo
[src]
fn new(
dynamic_event_mapper: DynamicEventMapper,
event_mapper: EventMapper,
func_mapper: FuncMapper,
module_mapper: ModuleMapper,
path_resolver: PathResolver,
out_stream: RwLock<Box<Write + 'static + Sync + Send>>
) -> Libflo
dynamic_event_mapper: DynamicEventMapper,
event_mapper: EventMapper,
func_mapper: FuncMapper,
module_mapper: ModuleMapper,
path_resolver: PathResolver,
out_stream: RwLock<Box<Write + 'static + Sync + Send>>
) -> Libflo
fn get_dynamic_event_mapper(&self) -> ExtDynamicEventMapper
fn get_event_mapper(&self) -> ExtEventMapper
fn get_func_mapper(&self) -> ExtFuncMapper
fn get_module_mapper(&self) -> &ModuleMapper
fn get_output_stream_mut(
&self
) -> Result<RwLockWriteGuard<Box<Write + 'static + Sync + Send>>, Error>
&self
) -> Result<RwLockWriteGuard<Box<Write + 'static + Sync + Send>>, Error>
fn send_event<TArgs>(
&self,
dynamic_event_id: usize,
data: &TArgs
) -> Result<(), Error> where
TArgs: Clone + Debug + Serialize + Eq + PartialEq<TArgs>,
&self,
dynamic_event_id: usize,
data: &TArgs
) -> Result<(), Error> where
TArgs: Clone + Debug + Serialize + Eq + PartialEq<TArgs>,
fn send_event_by_name<TStr, TArgs>(
&self,
module_id: usize,
dynamic_event_name: TStr,
data: &TArgs
) -> Result<(), Error> where
TArgs: Clone + Debug + Serialize + Eq + PartialEq<TArgs>,
TStr: AsRef<str>,
&self,
module_id: usize,
dynamic_event_name: TStr,
data: &TArgs
) -> Result<(), Error> where
TArgs: Clone + Debug + Serialize + Eq + PartialEq<TArgs>,
TStr: AsRef<str>,
fn send_event_by_module_name<TStr0, TStr1, TArgs>(
&self,
module_name: TStr0,
dynamic_event_name: TStr1,
data: &TArgs
) -> Result<(), Error> where
TArgs: Clone + Debug + Serialize + Eq + PartialEq<TArgs>,
TStr0: AsRef<str>,
TStr1: AsRef<str>,
&self,
module_name: TStr0,
dynamic_event_name: TStr1,
data: &TArgs
) -> Result<(), Error> where
TArgs: Clone + Debug + Serialize + Eq + PartialEq<TArgs>,
TStr0: AsRef<str>,
TStr1: AsRef<str>,
fn get_path_resolver(&self) -> &PathResolver
fn get_module_data(
&self,
module_id: usize
) -> Result<RwLockReadGuard<Option<Box<Any + 'static + Sync + Send>>>, Error>
&self,
module_id: usize
) -> Result<RwLockReadGuard<Option<Box<Any + 'static + Sync + Send>>>, Error>
fn get_module_data_mut(
&self,
module_id: usize
) -> Result<RwLockWriteGuard<Option<Box<Any + 'static + Sync + Send>>>, Error>
&self,
module_id: usize
) -> Result<RwLockWriteGuard<Option<Box<Any + 'static + Sync + Send>>>, Error>
fn set_module_data(
&self,
module_id: usize,
value: Box<Any + 'static + Sync + Send>
) -> Result<(), Error>
&self,
module_id: usize,
value: Box<Any + 'static + Sync + Send>
) -> Result<(), Error>