pub struct PeerBlock {
pub name: String,
pub can_suspend: bool,
pub fork_branch: bool,
}Expand description
The outermost named block of another process of the instance, which a
disable may target (LRM 9.6.2, 16.14.6.4).
Fields§
§name: String§can_suspend: boolThe block contains a suspend point, so its process may be inside it. A
disable then has to terminate the process’s activity (9.6.2), which
the scheduler cannot do; when the block cannot suspend, the process is
never inside it while another runs, and the disable’s only effect is the
flush of the process’s pending procedural assertion queue.
fork_branch: boolThe block is the outermost block of a fork branch (its own process,
tagged by name): any number of those may share a name, and disable <name>; ends every one (LRM 9.6.2).
Trait Implementations§
impl Eq for PeerBlock
impl StructuralPartialEq for PeerBlock
Auto Trait Implementations§
impl Freeze for PeerBlock
impl RefUnwindSafe for PeerBlock
impl Send for PeerBlock
impl Sync for PeerBlock
impl Unpin for PeerBlock
impl UnsafeUnpin for PeerBlock
impl UnwindSafe for PeerBlock
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.