pub struct BlockedDependency {
pub child_node_id: String,
pub parent_node_id: String,
pub required_seal_paths: Vec<String>,
pub blocked_at: i64,
}Expand description
PSP-5 Phase 6: Dependency tracking for nodes blocked on a parent seal.
When a child node depends on a parent’s sealed interface that has not yet been produced, the child is registered as a blocked dependent. Once the parent seals its interface, blocked dependents are unblocked.
Fields§
§child_node_id: StringChild node that is blocked.
parent_node_id: StringParent node whose seal the child requires.
required_seal_paths: Vec<String>Sealed interface paths the child depends on.
blocked_at: i64Timestamp when the block was registered (epoch seconds).
Implementations§
Trait Implementations§
Source§impl Clone for BlockedDependency
impl Clone for BlockedDependency
Source§fn clone(&self) -> BlockedDependency
fn clone(&self) -> BlockedDependency
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlockedDependency
impl Debug for BlockedDependency
Source§impl<'de> Deserialize<'de> for BlockedDependency
impl<'de> Deserialize<'de> for BlockedDependency
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BlockedDependency, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BlockedDependency, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for BlockedDependency
impl Serialize for BlockedDependency
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for BlockedDependency
impl RefUnwindSafe for BlockedDependency
impl Send for BlockedDependency
impl Sync for BlockedDependency
impl Unpin for BlockedDependency
impl UnsafeUnpin for BlockedDependency
impl UnwindSafe for BlockedDependency
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more