pub struct HazardMonitorSpec {
pub all_of: bool,
pub members: &'static [HazardMonitorRef],
}Expand description
One fault a hazard covers: a topic, or a redundant set of topics.
Fields§
§all_of: booltrue: the guard faults only when EVERY member has (a redundant
set). false: when any member has.
members: &'static [HazardMonitorRef]The guard’s members.
Trait Implementations§
Source§impl Clone for HazardMonitorSpec
impl Clone for HazardMonitorSpec
Source§fn clone(&self) -> HazardMonitorSpec
fn clone(&self) -> HazardMonitorSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HazardMonitorSpec
Auto Trait Implementations§
impl Freeze for HazardMonitorSpec
impl RefUnwindSafe for HazardMonitorSpec
impl Send for HazardMonitorSpec
impl Sync for HazardMonitorSpec
impl Unpin for HazardMonitorSpec
impl UnsafeUnpin for HazardMonitorSpec
impl UnwindSafe for HazardMonitorSpec
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