Function ivyrust::ivy_bind_msg
[−]
[src]
pub fn ivy_bind_msg<F>(cb: F, regexpr: String) -> MsgRcvPtr where
F: Fn(Vec<String>),
Bind a callback for a particular message
regexpr
defines which message should be bound, for
example "^(\S*) DL_SETTING (\S*) (\S*) (\S*)" will
and cb
is a function callback in form of Fn(Vec<String>)