Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ read
Method
read
crates/stdlib/src/socket.rs:970–972 ·
view source on GitHub ↗
(&mut self, buf: &mut [u8])
Source
from the content-addressed store, hash-verified
968
969
impl Read for &PySocket {
970
fn read(&mut self, buf: &mut [u8]) -> std::io::Result<usize> {
971
(&mut &*self.sock()?).read(buf)
972
}
973
}
974
975
impl Write for &PySocket {
Callers
3
sock_opt
Method · 0.45
del
Method · 0.45
fileno
Method · 0.45
Calls
1
sock
Method · 0.80
Tested by
no test coverage detected