Skip to main content

is_cancelled_result

Function is_cancelled_result 

Source
pub fn is_cancelled_result(result: &str) -> bool
Expand description

Returns true if the dedup result string represents a cancellation signal.

Callers that receive a result from Deduplicator::wait_for_result should use this function instead of comparing to the raw sentinel directly, so that internal implementation details remain hidden.