Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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)]
281
pub struct UnitParseError(String);
282
283
impl fmt::Display for UnitParseError {
284
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
Callers
1
from_str
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected