pub fn same_across_all_reqs_backing_var<V>(
req_name: &str,
var: &mut Option<V>,
new: V,
) -> Result<(), Error>where
V: VarEqBacking,
Expand description
Helper method to streamline request validation in cases where a value is expected to be identical across all incoming requests, using a custom comparison function.