MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / set_to_addr

Method set_to_addr

flow-rs/src/loader/python/envelope.rs:117–120  ·  view source on GitHub ↗
(&mut self, addr: u64)

Source from the content-addressed store, hash-verified

115
116 #[setter(to_addr)]
117 fn set_to_addr(&mut self, addr: u64) {
118 let envelope = self.imp.as_mut().expect(ERR_MSG);
119 envelope.info_mut().to_addr = Some(addr)
120 }
121
122 #[getter(partial_id)]
123 fn get_partial_id(&self) -> Option<u64> {

Callers

nothing calls this directly

Calls 1

info_mutMethod · 0.45

Tested by

no test coverage detected