#[repr(i32)]pub enum Status {
Ok = 0,
Null = 1,
Range = 2,
Cell = 3,
Argument = 4,
State = 5,
Memory = 6,
Internal = 7,
}Expand description
Status codes. The numeric values match seams_status.
assert_eq!(seams::Status::Ok as i32, 0);
assert_eq!(seams::Status::State as i32, 5);Variants§
Ok = 0
The call succeeded.
Null = 1
A required pointer is null.
Range = 2
A number is outside the accepted range.
Cell = 3
The cell is missing or has no volume.
Argument = 4
A caller argument is the wrong shape.
State = 5
The handle has no frame yet.
Memory = 6
An allocation failed.
Internal = 7
The library hit an internal failure.
Trait Implementations§
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin 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