#[repr(C, align(64))]pub struct BifurcationContext64 {Show 14 fields
pub observer_did_hash: u64,
pub subject_did_hash: u64,
pub consent_receipt_hash: u64,
pub active_manifold_mask: u16,
pub max_sensitivity_class: u8,
pub wing_selector: u8,
pub allowed_q_max: u32,
pub lamport_epoch: u64,
pub affordance_mask: u64,
pub spatial_lod_cap: u8,
pub deontic_routing_lane: u8,
pub flags: u16,
pub context_crc32c: u32,
pub reserved: [u8; 8],
}Expand description
64-byte cache-aligned context for multi-observer epistemic bifurcation.
Guaranteed Pod + Zeroable layout with zero internal padding bytes.
Fields§
§observer_did_hash: u64FNV-1a hash of observer DID.
subject_did_hash: u64FNV-1a hash of subject entity DID (0 = wildcard / accept any).
consent_receipt_hash: u64Cryptographic consent receipt token hash.
active_manifold_mask: u16Bitmask of active ManifoldDomain indices (bits 0..=12).
max_sensitivity_class: u8Maximum sensitivity class allowed (0=Public..3=Sanctuary).
wing_selector: u8Active representation wing selector (0=PublicTwin..3=EngineeringAudit).
allowed_q_max: u32Maximum visible quantum state index q (0 = ground truth only).
lamport_epoch: u64Lamport logical clock ceiling / epoch boundary.
affordance_mask: u64Affordance permission bitmask.
spatial_lod_cap: u8Finest permitted spatial LOD tier (0..=7).
deontic_routing_lane: u8Deontic routing lane filter (0 = passthrough / any).
flags: u16Operational flags (FLAG_REQUIRE_PARITY, etc.).
context_crc32c: u32Castagnoli CRC-32C of bytes 0..52.
reserved: [u8; 8]Reserved for hardware alignment and future extensions.
Implementations§
Source§impl BifurcationContext64
impl BifurcationContext64
Sourcepub fn compute_crc32c(&self) -> u32
pub fn compute_crc32c(&self) -> u32
Compute the CRC-32C checksum over the 52 header bytes preceding context_crc32c.
Sourcepub fn seal_crc32c(&mut self)
pub fn seal_crc32c(&mut self)
Update context_crc32c in place.
Sourcepub fn verify_crc32c(&self) -> bool
pub fn verify_crc32c(&self) -> bool
Check if context_crc32c matches the computed checksum.
Trait Implementations§
Source§impl Clone for BifurcationContext64
impl Clone for BifurcationContext64
impl Copy for BifurcationContext64
Source§impl Debug for BifurcationContext64
impl Debug for BifurcationContext64
Source§impl Default for BifurcationContext64
impl Default for BifurcationContext64
impl Eq for BifurcationContext64
Source§impl PartialEq for BifurcationContext64
impl PartialEq for BifurcationContext64
impl Pod for BifurcationContext64
impl StructuralPartialEq for BifurcationContext64
Auto Trait Implementations§
impl Freeze for BifurcationContext64
impl RefUnwindSafe for BifurcationContext64
impl Send for BifurcationContext64
impl Sync for BifurcationContext64
impl Unpin for BifurcationContext64
impl UnsafeUnpin for BifurcationContext64
impl UnwindSafe for BifurcationContext64
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<T> AnyBitPattern for Twhere
T: Pod,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
bits
as &Self.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
impl<T> Interleave for Twhere
T: Pod,
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> ⓘ
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> ⓘ
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