pub struct MonitorRuntime {Show 13 fields
pub state: MonitorState,
pub generation: u64,
pub created_at_ms: i64,
pub lifetime_deadline_ms: Option<i64>,
pub next_check_ms: Option<i64>,
pub next_notification_ms: Option<i64>,
pub check_count: u64,
pub notification_count: u64,
pub last_event_id: u64,
pub last_event_reason: Option<EventReason>,
pub condition_matched: bool,
pub path_baseline: Option<PathBaseline>,
pub probe_cwd_fingerprint: Option<[u8; 32]>,
/* private fields */
}Fields§
§state: MonitorState§generation: u64§created_at_ms: i64§lifetime_deadline_ms: Option<i64>§next_check_ms: Option<i64>§next_notification_ms: Option<i64>§check_count: u64§notification_count: u64§last_event_id: u64§last_event_reason: Option<EventReason>§condition_matched: bool§path_baseline: Option<PathBaseline>§probe_cwd_fingerprint: Option<[u8; 32]>Trait Implementations§
Source§impl Clone for MonitorRuntime
impl Clone for MonitorRuntime
Source§impl Debug for MonitorRuntime
impl Debug for MonitorRuntime
Source§impl<'de> Deserialize<'de> for MonitorRuntime
impl<'de> Deserialize<'de> for MonitorRuntime
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MonitorRuntime
Source§impl PartialEq for MonitorRuntime
impl PartialEq for MonitorRuntime
Source§impl Serialize for MonitorRuntime
impl Serialize for MonitorRuntime
impl StructuralPartialEq for MonitorRuntime
Auto Trait Implementations§
impl Freeze for MonitorRuntime
impl RefUnwindSafe for MonitorRuntime
impl Send for MonitorRuntime
impl Sync for MonitorRuntime
impl Unpin for MonitorRuntime
impl UnsafeUnpin for MonitorRuntime
impl UnwindSafe for MonitorRuntime
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.