MCPcopy Create free account
hub / github.com/bytecodealliance/system-interface / IsReadWrite

Interface IsReadWrite

src/io/is_read_write.rs:16–19  ·  view source on GitHub ↗

A trait for the `is_read_write` function.

Source from the content-addressed store, hash-verified

14
15/// A trait for the `is_read_write` function.
16pub trait IsReadWrite {
17 /// Test whether the handle is readable and/or writable.
18 fn is_read_write(&self) -> io::Result<(bool, bool)>;
19}
20
21#[cfg(not(windows))]
22impl<T: AsFilelike> IsReadWrite for T {

Callers

nothing calls this directly

Implementers 1

is_read_write.rssrc/io/is_read_write.rs

Calls

no outgoing calls

Tested by

no test coverage detected