pub fn is_not_available(&self) -> bool {
        if let OpenResult::NotAvailable = *self {
            true
        } else {
            false
        }
    }
/// Returns true if this result is of the NotAvailable variant.
Returns true if this result is of the NotAvailable variant.
Returns true if this result is of the NotAvailable variant .
pub fn is_not_available(&self) -> bool {
        if let OpenResult::NotAvailable = *self {
            true
        } else {
            false
        }
    }
pub fn is_not_available ( & self ) -> bool { if let OpenResult :: NotAvailable = * self { true } else { false } }
Returns true if this result is of the NotAvailable variant.
Returns true if this result is of the NotAvailable variant .
&self