Skip to main content

assert_write_gating

Function assert_write_gating 

Source
pub async fn assert_write_gating<S: TicketSource + Sync>(source: &S, uid: &str)
Expand description

A source must honor its declared write capability: if capabilities().push is false, set_state must fail with SourceError::Unsupported rather than silently no-op or panic.