MCPcopy Index your code
hub / github.com/RustPython/RustPython / from

Method from

crates/compiler-core/src/marshal.rs:37–39  ·  view source on GitHub ↗
(_: core::str::Utf8Error)

Source from the content-addressed store, hash-verified

35
36impl From<core::str::Utf8Error> for MarshalError {
37 fn from(_: core::str::Utf8Error) -> Self {
38 Self::InvalidUtf8
39 }
40}
41
42impl core::error::Error for MarshalError {}

Callers

nothing calls this directly

Calls 7

BooleanClass · 0.85
BytesClass · 0.85
TupleClass · 0.85
IntegerClass · 0.50
FloatClass · 0.50
ComplexClass · 0.50
StrClass · 0.50

Tested by

no test coverage detected