Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ valid_read
Method
valid_read
crates/vm/src/stdlib/_io.rs:857–859 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
855
856
#[inline]
857
const fn valid_read(&self) -> bool {
858
self.readable() && self.read_end != -1
859
}
860
861
#[inline]
862
const fn valid_write(&self) -> bool {
Callers
5
raw_offset
Method · 0.80
readahead
Method · 0.80
write
Method · 0.80
fill_buffer
Method · 0.80
adjust_position
Method · 0.80
Calls
1
readable
Method · 0.45
Tested by
no test coverage detected