MCPcopy Index your code
hub / github.com/RustPython/RustPython / Write

Interface Write

crates/vm/src/py_io.rs:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8use std::io;
9
10pub trait Write {
11 type Error;
12 fn write_fmt(&mut self, args: fmt::Arguments<'_>) -> Result<(), Self::Error>;
13}
14
15#[repr(transparent)]
16pub struct IoWriter<T>(pub T);

Callers 4

py_newMethod · 0.50
resizeMethod · 0.50
WriteFileMethod · 0.50
WSASendMethod · 0.50

Implementers 6

openssl.rscrates/stdlib/src/openssl.rs
socket.rscrates/stdlib/src/socket.rs
posixsubprocess.rscrates/stdlib/src/posixsubprocess.rs
py_io.rscrates/vm/src/py_io.rs
stw_tracecrates/vm/src/vm/mod.rs
concat.rscrates/wtf8/src/concat.rs

Calls

no outgoing calls

Tested by

no test coverage detected