Thalweg · API reference ← Main docs

check_primary_raw

Function check_primary_raw 

Source
pub fn check_primary_raw(
    role: Role,
    properties: &BTreeMap<String, String>,
) -> Result<(), ZerobusSinkError>
Expand description

Check the primary-raw preconditions against live table properties.

A Role::Secondary sink has no preconditions and always passes. Returns the collected reasons on refusal so every unmet condition is reported at once.

§Errors

ZerobusSinkError::FatalConfig naming every unmet precondition.