#[repr(i32)]pub enum TiError {
Success = 0,
NotSupported = -1,
CorruptedData = -2,
NameNotFound = -3,
InvalidArgument = -4,
ArgumentNull = -5,
ArgumentOutOfRange = -6,
ArgumentNotFound = -7,
InvalidInterop = -8,
InvalidState = -9,
IncompatibleModule = -10,
OutOfMemory = -11,
}Expand description
Enumeration TiError
Errors reported by the Taichi C-API.
Variants§
Success = 0
NotSupported = -1
CorruptedData = -2
NameNotFound = -3
InvalidArgument = -4
ArgumentNull = -5
ArgumentOutOfRange = -6
ArgumentNotFound = -7
InvalidInterop = -8
InvalidState = -9
IncompatibleModule = -10
OutOfMemory = -11
Trait Implementations§
Source§impl Ord for TiError
impl Ord for TiError
Source§impl PartialOrd for TiError
impl PartialOrd for TiError
impl Copy for TiError
impl Eq for TiError
impl StructuralPartialEq for TiError
Auto Trait Implementations§
impl Freeze for TiError
impl RefUnwindSafe for TiError
impl Send for TiError
impl Sync for TiError
impl Unpin for TiError
impl UnwindSafe for TiError
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