?
1
2
3
pub trait
StringCallback {
fn
call(
&
self
, message: String) ->
Result
<(), String>; }