You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Passing None to await_next_record() indicates an infinite timeout so a timeout should never happen, yet a timeout is indicated. await_next_record() sometimes returns Ok(None), indicating a timeout.
externcrate systemd;use systemd::journal::{Journal,JournalFiles};fnmain(){letmut journal = Journal::open(JournalFiles::CurrentUser,false,false).unwrap();let record = journal.await_next_record(None).unwrap();assert!(record.is_some());// Panics}
The text was updated successfully, but these errors were encountered:
Passing
None
toawait_next_record()
indicates an infinite timeout so a timeout should never happen, yet a timeout is indicated.await_next_record()
sometimes returns Ok(None), indicating a timeout.The text was updated successfully, but these errors were encountered: