Enum neon::borrow::LoanError[][src]

pub enum LoanError {
    Mutating(*const c_void),
    Frozen(*const c_void),
}
Expand description

An error produced by a failed loan in the Borrow or BorrowMut traits.

Variants

Mutating(*const c_void)

Indicates that there is already an outstanding mutable loan for the object at this address.

Tuple Fields of Mutating

0: *const c_void
Frozen(*const c_void)

Indicates that there is already an outstanding immutable loan for the object at this address.

Tuple Fields of Frozen

0: *const c_void

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.