#[repr(i32)]pub enum Status {
Show 24 variants
Ok = 0,
InvalidArg = 1,
ObjectExpected = 2,
StringExpected = 3,
NameExpected = 4,
FunctionExpected = 5,
NumberExpected = 6,
BooleanExpected = 7,
ArrayExpected = 8,
GenericFailure = 9,
PendingException = 10,
Cancelled = 11,
EscapeCalledTwice = 12,
HandleScopeMismatch = 13,
CallbackScopeMismatch = 14,
QueueFull = 15,
Closing = 16,
BigintExpected = 17,
DateExpected = 18,
ArrayBufferExpected = 19,
DetachableArraybufferExpected = 20,
WouldDeadlock = 21,
NoExternalBuffersAllowed = 22,
Unknown = 1_024,
}
Variants§
Ok = 0
InvalidArg = 1
ObjectExpected = 2
StringExpected = 3
NameExpected = 4
FunctionExpected = 5
NumberExpected = 6
BooleanExpected = 7
ArrayExpected = 8
GenericFailure = 9
PendingException = 10
Cancelled = 11
EscapeCalledTwice = 12
HandleScopeMismatch = 13
CallbackScopeMismatch = 14
QueueFull = 15
ThreadSafeFunction queue is full
Closing = 16
ThreadSafeFunction closed
BigintExpected = 17
DateExpected = 18
ArrayBufferExpected = 19
DetachableArraybufferExpected = 20
WouldDeadlock = 21
NoExternalBuffersAllowed = 22
Unknown = 1_024
Trait Implementations§
source§impl PartialEq for Status
impl PartialEq for Status
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more