Struct ic_event_hub::EventHub [−][src]
pub struct EventHub(_);
Implementations
pub fn add_event_listener(
&mut self,
filter: EventFilter,
event_listener_method_name: String,
caller: Principal
)
pub fn match_event_listeners_by_topics(
&self,
topics: &BTreeSet<EventField>
) -> Vec<RemoteCallEndpoint>
pub fn remove_event_listener(
&mut self,
filter: &EventFilter,
event_listener_method_name: String,
caller: Principal
) -> Result<(), String>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EventHub
impl UnwindSafe for EventHub