MCPcopy Create free account
hub / github.com/PerroEngine/Perro / from

Method from

perro_source/api_modules/perro_resource_api/src/res_path.rs:291–293  ·  view source on GitHub ↗
(path: ResPathBuf)

Source from the content-addressed store, hash-verified

289 type Err = ResPathError;
290
291 fn from_str(path: &str) -> Result<Self, Self::Err> {
292 Self::try_new(path)
293 }
294}
295
296impl TryFrom<String> for ResPathBuf {

Callers

nothing calls this directly

Calls 2

into_stringMethod · 0.80
as_strMethod · 0.45

Tested by

no test coverage detected