MCPcopy Create free account
hub / github.com/PerroEngine/Perro / poll_frame

Method poll_frame

perro_source/api_modules/perro_networking/src/tcp.rs:180–183  ·  view source on GitHub ↗
(&mut self, max_frame_bytes: usize)

Source from the content-addressed store, hash-verified

178 return Ok(bytes.len());
179 }
180 self.stream
181 .write(bytes)
182 .map_err(|err| NetError::from_io(NetErrorKind::Send, err))
183 }
184
185 pub fn write_all(&mut self, bytes: &[u8]) -> NetResult<()> {
186 if !bytes.is_empty() {

Callers 2

poll_frame_eventMethod · 0.80
poll_handshakeMethod · 0.80

Calls 2

decode_next_frameFunction · 0.85
read_into_frame_bufMethod · 0.80

Tested by

no test coverage detected