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

Method get_to_addr

flow-rs/src/loader/python/envelope.rs:111–114  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

109
110 #[getter(to_addr)]
111 fn get_to_addr(&self) -> Option<u64> {
112 let envelope = self.imp.as_ref().expect(ERR_MSG);
113 envelope.info().to_addr
114 }
115
116 #[setter(to_addr)]
117 fn set_to_addr(&mut self, addr: u64) {

Callers

nothing calls this directly

Calls 2

as_refMethod · 0.80
infoMethod · 0.45

Tested by

no test coverage detected