Lines Matching refs:SetLoggerError
1280 pub fn set_boxed_logger(logger: Box<dyn Log>) -> Result<(), SetLoggerError> { in set_boxed_logger() argument
1338 pub fn set_logger(logger: &'static dyn Log) -> Result<(), SetLoggerError> { in set_logger() argument
1343 fn set_logger_inner<F>(make_logger: F) -> Result<(), SetLoggerError> in set_logger_inner()
1367 Err(SetLoggerError(())) in set_logger_inner()
1369 _ => Err(SetLoggerError(())), in set_logger_inner()
1392 pub unsafe fn set_logger_racy(logger: &'static dyn Log) -> Result<(), SetLoggerError> { in set_logger_racy() argument
1403 _ => Err(SetLoggerError(())), in set_logger_racy()
1412 pub struct SetLoggerError(()); struct
1414 impl fmt::Display for SetLoggerError { implementation
1422 impl error::Error for SetLoggerError {} implementation
1637 use super::SetLoggerError; in test_error_trait()
1638 let e = SetLoggerError(()); in test_error_trait()