pub struct GuardSpec {
pub all_of: bool,
pub members: &'static [GuardRef],
}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 [GuardRef]The guard’s members.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GuardSpec
impl RefUnwindSafe for GuardSpec
impl Send for GuardSpec
impl Sync for GuardSpec
impl Unpin for GuardSpec
impl UnsafeUnpin for GuardSpec
impl UnwindSafe for GuardSpec
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