Skip to main content

no_materialize

Function no_materialize 

Source
pub fn no_materialize(
    _any: &mut dyn Any,
    _type_hash: u64,
    _bytes: Vec<u8>,
) -> Result<Box<dyn SlotValue>, BackendMaterializeError>
Expand description

Backend-only no-op materialize entry used by non-Backend roles. Roles other than Backend never reach the materialize entry (decode_typed_fill only consults it after confirming the slot binds to ComponentRole::Backend), so the unused fn pointer returns a descriptive error rather than panicking.