Home
last modified time | relevance | path

Searched defs:UnitIncorrectError (Results 1 – 6 of 6) sorted by relevance

/dports/net/oha/oha-0.4.7/cargo-crates/byte-unit-4.0.12/src/
H A Dbyte_error.rs34 pub struct UnitIncorrectError { struct
40 impl Display for UnitIncorrectError { argument
77 impl Error for UnitIncorrectError {} implementation
H A Dbyte_unit.rs82 pub fn from_str<S: AsRef<str>>(unit: S) -> Result<ByteUnit, UnitIncorrectError> { in from_str() argument
244 pub(crate) fn read_xib(e: Option<u8>, mut bytes: Bytes) -> Result<ByteUnit, UnitIncorrectError> { in read_xib() argument
335 fn read_ib(mut bytes: Bytes) -> Result<bool, UnitIncorrectError> { in read_ib() argument
/dports/sysutils/onefetch/onefetch-2.10.2/cargo-crates/byte-unit-4.0.12/src/
H A Dbyte_error.rs34 pub struct UnitIncorrectError { struct
40 impl Display for UnitIncorrectError { argument
77 impl Error for UnitIncorrectError {} implementation
H A Dbyte_unit.rs82 pub fn from_str<S: AsRef<str>>(unit: S) -> Result<ByteUnit, UnitIncorrectError> { in from_str() argument
244 pub(crate) fn read_xib(e: Option<u8>, mut bytes: Bytes) -> Result<ByteUnit, UnitIncorrectError> { in read_xib() argument
335 fn read_ib(mut bytes: Bytes) -> Result<bool, UnitIncorrectError> { in read_ib() argument
/dports/sysutils/dua-cli/dua-cli-2.14.11/cargo-crates/byte-unit-4.0.13/src/
H A Dbyte_error.rs34 pub struct UnitIncorrectError { struct
40 impl Display for UnitIncorrectError { argument
77 impl Error for UnitIncorrectError {} implementation
H A Dbyte_unit.rs82 pub fn from_str<S: AsRef<str>>(unit: S) -> Result<ByteUnit, UnitIncorrectError> { in from_str() argument
244 pub(crate) fn read_xib(e: Option<u8>, mut bytes: Bytes) -> Result<ByteUnit, UnitIncorrectError> { in read_xib() argument
335 fn read_ib(mut bytes: Bytes) -> Result<bool, UnitIncorrectError> { in read_ib() argument