Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/rustix
/ read
Function
read
examples/buffer_errors.rs:18–18 ·
view source on GitHub ↗
(_: B)
Source
from the content-addressed store, hash-verified
16
use rustix::buffer::Buffer;
17
18
fn read<B: Buffer<u8>>(_: B) {}
19
20
// This is reduced from src/fs/inotify.rs line 177.
21
struct Wrapper<
'a>(&'
a mut [u8]);
Callers
4
main
Function · 0.70
read
Method · 0.70
error_empty_slice
Function · 0.70
error_array_by_value
Function · 0.70
Calls
1
assume_init
Method · 0.80
Tested by
no test coverage detected