Enum km::status::Status [] [src]

pub enum Status {
    success,
    unsuccessful,
}

NT Status code.

Variants

success
unsuccessful

Methods

impl Status

fn is_ok(&self) -> bool

Evaluates to true if the Status is a success type (0..0x3FFFFFFF) or an informational type (0x40000000..0x7FFFFFFF).

fn is_err(&self) -> bool

Status is a warning or error type.

fn is_success(&self) -> bool

Status is a success type.

fn is_information(&self) -> bool

Status is a information type.

fn is_warning(&self) -> bool

Status is a warning type.

fn is_error(&self) -> bool

Status is a error type.

Trait Implementations

Derived Implementations

impl Copy for Status

impl Clone for Status

fn clone(&self) -> Status

1.0.0fn clone_from(&mut self, source: &Self)