Skip to main content

is_success

Function is_success 

Source
pub fn is_success(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 was successful.

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