MCPcopy Create free account
hub / github.com/bytesize-rs/bytesize / UnitParseError

Class UnitParseError

src/parse.rs:281–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279/// Error returned when parsing a [`Unit`] fails.
280#[derive(Debug)]
281pub struct UnitParseError(String);
282
283impl fmt::Display for UnitParseError {
284 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {

Callers 1

from_strMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected