pub fn validate_bindings<B>(
bindings: &[BindingRef<'_, B>],
max_bindings: u32,
) -> Result<(), BackendError>Expand description
Slot/count uniqueness helper for program bindings.
Structural only: nonempty, bounded by max_bindings, and unique slots. This is
incomplete for pre-admission checks – it does not enforce access/usage
compatibility required before backend admission. Prefer
BindingRef::validate_for_submit before Accelerator::submit. Strictly
slot-ordered input takes a linear, allocation-free path; arbitrary order remains
supported by the allocation-free fallback.