godot_error

Enum godot_error 

Source
#[repr(u32)]
pub enum godot_error {
Show 50 variants GODOT_OK = 0, GODOT_FAILED = 1, GODOT_ERR_UNAVAILABLE = 2, GODOT_ERR_UNCONFIGURED = 3, GODOT_ERR_UNAUTHORIZED = 4, GODOT_ERR_PARAMETER_RANGE_ERROR = 5, GODOT_ERR_OUT_OF_MEMORY = 6, GODOT_ERR_FILE_NOT_FOUND = 7, GODOT_ERR_FILE_BAD_DRIVE = 8, GODOT_ERR_FILE_BAD_PATH = 9, GODOT_ERR_FILE_NO_PERMISSION = 10, GODOT_ERR_FILE_ALREADY_IN_USE = 11, GODOT_ERR_FILE_CANT_OPEN = 12, GODOT_ERR_FILE_CANT_WRITE = 13, GODOT_ERR_FILE_CANT_READ = 14, GODOT_ERR_FILE_UNRECOGNIZED = 15, GODOT_ERR_FILE_CORRUPT = 16, GODOT_ERR_FILE_MISSING_DEPENDENCIES = 17, GODOT_ERR_FILE_EOF = 18, GODOT_ERR_CANT_OPEN = 19, GODOT_ERR_CANT_CREATE = 20, GODOT_ERR_QUERY_FAILED = 21, GODOT_ERR_ALREADY_IN_USE = 22, GODOT_ERR_LOCKED = 23, GODOT_ERR_TIMEOUT = 24, GODOT_ERR_CANT_CONNECT = 25, GODOT_ERR_CANT_RESOLVE = 26, GODOT_ERR_CONNECTION_ERROR = 27, GODOT_ERR_CANT_AQUIRE_RESOURCE = 28, GODOT_ERR_CANT_FORK = 29, GODOT_ERR_INVALID_DATA = 30, GODOT_ERR_INVALID_PARAMETER = 31, GODOT_ERR_ALREADY_EXISTS = 32, GODOT_ERR_DOES_NOT_EXIST = 33, GODOT_ERR_DATABASE_CANT_READ = 34, GODOT_ERR_DATABASE_CANT_WRITE = 35, GODOT_ERR_COMPILATION_FAILED = 36, GODOT_ERR_METHOD_NOT_FOUND = 37, GODOT_ERR_LINK_FAILED = 38, GODOT_ERR_SCRIPT_FAILED = 39, GODOT_ERR_CYCLIC_LINK = 40, GODOT_ERR_INVALID_DECLARATION = 41, GODOT_ERR_DUPLICATE_SYMBOL = 42, GODOT_ERR_PARSE_ERROR = 43, GODOT_ERR_BUSY = 44, GODOT_ERR_SKIP = 45, GODOT_ERR_HELP = 46, GODOT_ERR_BUG = 47, GODOT_ERR_PRINTER_ON_FIRE = 48, GODOT_ERR_OMFG_THIS_IS_VERY_VERY_BAD = 49,
}

Variants§

§

GODOT_OK = 0

§

GODOT_FAILED = 1

§

GODOT_ERR_UNAVAILABLE = 2

§

GODOT_ERR_UNCONFIGURED = 3

§

GODOT_ERR_UNAUTHORIZED = 4

§

GODOT_ERR_PARAMETER_RANGE_ERROR = 5

§

GODOT_ERR_OUT_OF_MEMORY = 6

§

GODOT_ERR_FILE_NOT_FOUND = 7

§

GODOT_ERR_FILE_BAD_DRIVE = 8

§

GODOT_ERR_FILE_BAD_PATH = 9

§

GODOT_ERR_FILE_NO_PERMISSION = 10

§

GODOT_ERR_FILE_ALREADY_IN_USE = 11

§

GODOT_ERR_FILE_CANT_OPEN = 12

§

GODOT_ERR_FILE_CANT_WRITE = 13

§

GODOT_ERR_FILE_CANT_READ = 14

§

GODOT_ERR_FILE_UNRECOGNIZED = 15

§

GODOT_ERR_FILE_CORRUPT = 16

§

GODOT_ERR_FILE_MISSING_DEPENDENCIES = 17

§

GODOT_ERR_FILE_EOF = 18

§

GODOT_ERR_CANT_OPEN = 19

§

GODOT_ERR_CANT_CREATE = 20

§

GODOT_ERR_QUERY_FAILED = 21

§

GODOT_ERR_ALREADY_IN_USE = 22

§

GODOT_ERR_LOCKED = 23

§

GODOT_ERR_TIMEOUT = 24

§

GODOT_ERR_CANT_CONNECT = 25

§

GODOT_ERR_CANT_RESOLVE = 26

§

GODOT_ERR_CONNECTION_ERROR = 27

§

GODOT_ERR_CANT_AQUIRE_RESOURCE = 28

§

GODOT_ERR_CANT_FORK = 29

§

GODOT_ERR_INVALID_DATA = 30

§

GODOT_ERR_INVALID_PARAMETER = 31

§

GODOT_ERR_ALREADY_EXISTS = 32

§

GODOT_ERR_DOES_NOT_EXIST = 33

§

GODOT_ERR_DATABASE_CANT_READ = 34

§

GODOT_ERR_DATABASE_CANT_WRITE = 35

§

GODOT_ERR_COMPILATION_FAILED = 36

§

GODOT_ERR_METHOD_NOT_FOUND = 37

§

GODOT_ERR_SCRIPT_FAILED = 39

§

GODOT_ERR_INVALID_DECLARATION = 41

§

GODOT_ERR_DUPLICATE_SYMBOL = 42

§

GODOT_ERR_PARSE_ERROR = 43

§

GODOT_ERR_BUSY = 44

§

GODOT_ERR_SKIP = 45

§

GODOT_ERR_HELP = 46

§

GODOT_ERR_BUG = 47

§

GODOT_ERR_PRINTER_ON_FIRE = 48

§

GODOT_ERR_OMFG_THIS_IS_VERY_VERY_BAD = 49

Trait Implementations§

Source§

impl Clone for godot_error

Source§

fn clone(&self) -> godot_error

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for godot_error

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Hash for godot_error

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for godot_error

Source§

fn eq(&self, other: &godot_error) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for godot_error

Source§

impl Eq for godot_error

Source§

impl StructuralPartialEq for godot_error

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.