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

Method accept_event

perro_source/api_modules/perro_networking/src/tcp.rs:260–268  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

258 }
259 if n < tmp.len() {
260 return Ok(());
261 }
262 }
263 Err(err) if err.kind() == io::ErrorKind::WouldBlock => return Ok(()),
264 Err(err) => return Err(NetError::from_io(NetErrorKind::Receive, err)),
265 }
266 }
267 }
268
269 /// Try to write all queued bytes without blocking.
270 ///
271 /// Returns `true` when the queue is empty.

Callers 2

poll_acceptsMethod · 0.45

Calls 2

acceptMethod · 0.45
peer_stringMethod · 0.45

Tested by

no test coverage detected