Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/rustix
/ b
Function
b
examples/buffer_errors.rs:44–46 ·
view source on GitHub ↗
(b: B)
Source
from the content-addressed store, hash-verified
42
use rustix::io::retry_on_intr;
43
44
fn b<B: Buffer<u8>>(b: B) -> io::Result<B::Output> {
45
unsafe { Ok(b.assume_init(0)) }
46
}
47
48
let mut event_buf = [0; 4];
49
Callers
2
error_retry_closure
Function · 0.85
error_retry_closure_uninit
Function · 0.85
Calls
1
assume_init
Method · 0.80
Tested by
no test coverage detected