Skip to main content

is_failure

Function is_failure 

Source
pub fn is_failure(ok: bool) -> bool
👎Deprecated since 0.0.6:

libyml is unmaintained. Migrate to a maintained alternative (unsafe-libyaml, yaml-rust2, or noyalib). See MIGRATION.md.

Expand description

Returns true when the operation failed.

Historical libyml ≤ 0.0.5 helper. Now takes the ok flag of the upstream Success struct directly.