MCPcopy Create free account
hub / github.com/drogus/crows / write

Method write

wasm/src/lib.rs:621–625  ·  view source on GitHub ↗
(&mut self, bytes: bytes::Bytes)

Source from the content-addressed store, hash-verified

619
620impl wasmtime_wasi::HostOutputStream for RemoteIo {
621 fn write(&mut self, bytes: bytes::Bytes) -> StreamResult<()> {
622 self.sender.send(bytes.to_vec()).unwrap();
623
624 Ok(())
625 }
626
627 fn flush(&mut self) -> StreamResult<()> {
628 Ok(())

Callers 11

run_testMethod · 0.80
dropMethod · 0.80
reserve_instanceMethod · 0.80
checkout_instanceMethod · 0.80
checkin_instanceMethod · 0.80
get_close_receiverMethod · 0.80
waitMethod · 0.80
upload_scenarioMethod · 0.80
startMethod · 0.80
get_run_statusMethod · 0.80
startMethod · 0.80

Calls 1

sendMethod · 0.80

Tested by

no test coverage detected