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

Method visit_str

size-parser/src/lib.rs:241–246  ·  view source on GitHub ↗
(self, value: &str)

Source from the content-addressed store, hash-verified

239 }
240
241 fn visit_str<E>(self, value: &str) -> Result<Self::Value, E>
242 where
243 E: Error,
244 {
245 MemorySize::parse(value).map_err(E::custom)
246 }
247
248 fn visit_u64<E>(self, value: u64) -> Result<Self::Value, E>
249 where

Callers

nothing calls this directly

Calls 1

bytesMethod · 0.80

Tested by

no test coverage detected