MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / invalid_input

Function invalid_input

http-client/src/hyper_vsock.rs:148–150  ·  view source on GitHub ↗
(msg: &str)

Source from the content-addressed store, hash-verified

146}
147
148fn invalid_input(msg: &str) -> io::Error {
149 io::Error::new(io::ErrorKind::InvalidInput, msg)
150}
151
152fn parse_vsock_host(uri: &Uri) -> Result<(u32, u32), io::Error> {
153 if uri.scheme_str() != Some("vsock") {

Callers 1

parse_vsock_hostFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected