MCPcopy Create free account
hub / github.com/elastio/devx / io_read_err

Method io_read_err

devx-cmd/src/lib.rs:621–626  ·  view source on GitHub ↗
(&self, err: io::Error, ostream: Ostream, data_kind: &str)

Source from the content-addressed store, hash-verified

619 }
620
621 fn io_read_err(&self, err: io::Error, ostream: Ostream, data_kind: &str) -> Error {
622 Error::proc(
623 self,
624 &format_args!("Failed to read {} from `{}`: {}", data_kind, ostream, err),
625 )
626 }
627
628 fn log_output(&self, ostream: Ostream, output: &dyn fmt::Display) {
629 if let Some(level) = self.cmd.0.log_cmd {

Callers 2

read_no_waitMethod · 0.80
read_bytes_no_waitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected