MCPcopy Create free account
hub / github.com/Recordscript/recordscript / write_message

Method write_message

libs/scrap/src/common/record.rs:139–145  ·  view source on GitHub ↗
(&mut self, msg: &Message)

Source from the content-addressed store, hash-verified

137 }
138
139 pub fn write_message(&mut self, msg: &Message) {
140 if let Some(message::Union::VideoFrame(vf)) = &msg.union {
141 if let Some(frame) = &vf.union {
142 self.write_frame(frame).ok();
143 }
144 }
145 }
146
147 pub fn write_frame(&mut self, frame: &video_frame::Union) -> ResultType<()> {
148 match frame {

Callers

nothing calls this directly

Calls 1

write_frameMethod · 0.80

Tested by

no test coverage detected