Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dstack-TEE/dstack
/ write
Method
write
iohash/src/main.rs:67–69 ·
view source on GitHub ↗
(&mut self, buf: &[u8])
Source
from the content-addressed store, hash-verified
65
struct BlackHole;
66
impl Write for BlackHole {
67
fn write(&mut self, buf: &[u8]) -> std::io::Result<usize> {
68
Ok(buf.len())
69
}
70
71
fn flush(&mut self) -> std::io::Result<()> {
72
Ok(())
Callers
15
encode_to
Method · 0.80
create_app_compose
Method · 0.80
send_rpc_request
Function · 0.80
copy
Method · 0.80
maybe_request_demo_cert
Method · 0.80
sync_instance
Method · 0.80
sync_delete_instance
Method · 0.80
sync_node
Method · 0.80
set_node_status
Method · 0.80
sync_connections
Method · 0.80
sync_instance_handshake
Method · 0.80
sync_node_last_seen
Method · 0.80
Calls
1
len
Method · 0.45
Tested by
1
encode_to
Method · 0.64