MCPcopy Create free account
hub / github.com/Migorithm/rustiful-backend / convert_event

Method convert_event

library/src/adapters/outbox.rs:47–51  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

45 }
46 }
47 pub fn convert_event(&self) -> Box<dyn Message> {
48 // convert event. it takes outbox reference and target type that is to be deserialized.
49 // you can insert any number of desired type as long as it is outboxable type.
50 convert_event!(self, BoardCreated)
51 }
52 pub fn tag_processed(&mut self) {
53 self.processed = true
54 }

Callers 2

handle_outboxMethod · 0.80
test_convert_eventFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_convert_eventFunction · 0.64