Searched refs:ParseLevelError (Results 1 – 2 of 2) sorted by relevance
/third_party/rust/crates/tracing/tracing-core/src/ |
D | metadata.rs | 551 impl crate::stdlib::error::Error for ParseLevelError {} implementation 554 type Err = ParseLevelError; 555 fn from_str(s: &str) -> Result<Self, ParseLevelError> { in from_str() argument 557 .map_err(|_| ParseLevelError { _p: () }) in from_str() 564 _ => Err(ParseLevelError { _p: () }), in from_str() 572 _ => Err(ParseLevelError { _p: () }), in from_str() 805 pub struct ParseLevelError { struct 809 impl fmt::Display for ParseLevelError { implementation
|
/third_party/rust/crates/log/src/ |
D | lib.rs | 561 type Err = ParseLevelError; 571 ParseLevelError(()), in from_str() 742 type Err = ParseLevelError; 749 ParseLevelError(()), in from_str() 1559 pub struct ParseLevelError(()); struct 1561 impl fmt::Display for ParseLevelError { implementation 1569 impl error::Error for ParseLevelError {} implementation 1686 use super::{Level, LevelFilter, ParseLevelError}; 1704 ("asdf", Err(ParseLevelError(()))), in test_levelfilter_from_str() 1714 ("OFF", Err(ParseLevelError(()))), in test_level_from_str() [all …]
|