pub struct JournalStateResolver {
pub commanders: HashMap<String, JournalCommanderEntry>,
/* private fields */
}
Expand description
State which tracks both log events and events that are fired when a json file updates.
Fields§
§commanders: HashMap<String, JournalCommanderEntry>
Implementations§
Source§impl JournalStateResolver
impl JournalStateResolver
pub fn current_commander(&self) -> Option<&JournalCommanderEntry>
pub fn current_commander_mut(&mut self) -> Option<&mut JournalCommanderEntry>
pub fn all_live_state(&self) -> HashMap<&String, LiveStateEntry<'_>>
Trait Implementations§
Source§impl Default for JournalStateResolver
impl Default for JournalStateResolver
Source§fn default() -> JournalStateResolver
fn default() -> JournalStateResolver
Returns the “default value” for a type. Read more
Source§impl From<HashMap<String, LiveStateEntryOwned>> for JournalStateResolver
impl From<HashMap<String, LiveStateEntryOwned>> for JournalStateResolver
Auto Trait Implementations§
impl Freeze for JournalStateResolver
impl RefUnwindSafe for JournalStateResolver
impl Send for JournalStateResolver
impl Sync for JournalStateResolver
impl Unpin for JournalStateResolver
impl UnwindSafe for JournalStateResolver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more