pub struct ChildRunJoinRequest { /* private fields */ }Expand description
One sealed, nonempty set of owned children for one logical parent activation. The store must prove ownership and require the complete admitted set before registering it. Construction alone grants no authority and performs no I/O.
Implementations§
Source§impl ChildRunJoinRequest
impl ChildRunJoinRequest
Sourcepub const MAX_CHILDREN: usize = 64
pub const MAX_CHILDREN: usize = 64
Same bound as the maximum number of declared slots on one node.
Sourcepub const MAX_BYTES: usize
pub const MAX_BYTES: usize
Hard canonical wire ceiling; child inputs and outputs are not included.
Sourcepub fn new(
keys: impl IntoIterator<Item = ChildRunKey>,
) -> Result<Self, ChildRunJoinError>
pub fn new( keys: impl IntoIterator<Item = ChildRunKey>, ) -> Result<Self, ChildRunJoinError>
Seals keys in case-sensitive slot order, independent of completion order.
Sourcepub fn keys(&self) -> &[ChildRunKey]
pub fn keys(&self) -> &[ChildRunKey]
Returns canonical slot order. Identity is physical-attempt independent.
Sourcepub fn activation(&self) -> &NodeActivation
pub fn activation(&self) -> &NodeActivation
Returns the common exact parent activation.
Sourcepub const fn activation_digest(&self) -> Digest
pub const fn activation_digest(&self) -> Digest
Returns the existing canonical node activation digest.
Sourcepub fn canonical_bytes(&self) -> Result<Vec<u8>, ChildRunJoinError>
pub fn canonical_bytes(&self) -> Result<Vec<u8>, ChildRunJoinError>
Encodes the bounded versioned request without storage coordinates.
Trait Implementations§
Source§impl Clone for ChildRunJoinRequest
impl Clone for ChildRunJoinRequest
Source§impl Debug for ChildRunJoinRequest
impl Debug for ChildRunJoinRequest
Source§impl<'de> Deserialize<'de> for ChildRunJoinRequest
impl<'de> Deserialize<'de> for ChildRunJoinRequest
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ChildRunJoinRequest
Source§impl JsonSchema for ChildRunJoinRequest
impl JsonSchema for ChildRunJoinRequest
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ChildRunJoinRequest
impl PartialEq for ChildRunJoinRequest
Source§impl Serialize for ChildRunJoinRequest
impl Serialize for ChildRunJoinRequest
impl StructuralPartialEq for ChildRunJoinRequest
Auto Trait Implementations§
impl Forget for ChildRunJoinRequest
impl Freeze for ChildRunJoinRequest
impl Move for ChildRunJoinRequest
impl RefUnwindSafe for ChildRunJoinRequest
impl Send for ChildRunJoinRequest
impl Sync for ChildRunJoinRequest
impl Unpin for ChildRunJoinRequest
impl UnsafeUnpin for ChildRunJoinRequest
impl UnwindSafe for ChildRunJoinRequest
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