Struct Error
pub struct Error { /* private fields */ }
Implementations§
§impl Error
impl Error
pub const OK: Error = _
pub const FAILED: Error = _
pub const ERR_UNAVAILABLE: Error = _
pub const ERR_UNCONFIGURED: Error = _
pub const ERR_UNAUTHORIZED: Error = _
pub const ERR_PARAMETER_RANGE_ERROR: Error = _
pub const ERR_OUT_OF_MEMORY: Error = _
pub const ERR_FILE_NOT_FOUND: Error = _
pub const ERR_FILE_BAD_DRIVE: Error = _
pub const ERR_FILE_BAD_PATH: Error = _
pub const ERR_FILE_NO_PERMISSION: Error = _
pub const ERR_FILE_ALREADY_IN_USE: Error = _
pub const ERR_FILE_CANT_OPEN: Error = _
pub const ERR_FILE_CANT_WRITE: Error = _
pub const ERR_FILE_CANT_READ: Error = _
pub const ERR_FILE_UNRECOGNIZED: Error = _
pub const ERR_FILE_CORRUPT: Error = _
pub const ERR_FILE_MISSING_DEPENDENCIES: Error = _
pub const ERR_FILE_EOF: Error = _
pub const ERR_CANT_OPEN: Error = _
pub const ERR_CANT_CREATE: Error = _
pub const ERR_QUERY_FAILED: Error = _
pub const ERR_ALREADY_IN_USE: Error = _
pub const ERR_LOCKED: Error = _
pub const ERR_TIMEOUT: Error = _
pub const ERR_CANT_CONNECT: Error = _
pub const ERR_CANT_RESOLVE: Error = _
pub const ERR_CONNECTION_ERROR: Error = _
pub const ERR_CANT_ACQUIRE_RESOURCE: Error = _
pub const ERR_CANT_FORK: Error = _
pub const ERR_INVALID_DATA: Error = _
pub const ERR_INVALID_PARAMETER: Error = _
pub const ERR_ALREADY_EXISTS: Error = _
pub const ERR_DOES_NOT_EXIST: Error = _
pub const ERR_DATABASE_CANT_READ: Error = _
pub const ERR_DATABASE_CANT_WRITE: Error = _
pub const ERR_COMPILATION_FAILED: Error = _
pub const ERR_METHOD_NOT_FOUND: Error = _
pub const ERR_LINK_FAILED: Error = _
pub const ERR_SCRIPT_FAILED: Error = _
pub const ERR_CYCLIC_LINK: Error = _
pub const ERR_INVALID_DECLARATION: Error = _
pub const ERR_DUPLICATE_SYMBOL: Error = _
pub const ERR_PARSE_ERROR: Error = _
pub const ERR_BUSY: Error = _
pub const ERR_SKIP: Error = _
pub const ERR_HELP: Error = _
pub const ERR_BUG: Error = _
pub const ERR_PRINTER_ON_FIRE: Error = _
Trait Implementations§
§impl EngineEnum for Error
impl EngineEnum for Error
§impl FromGodot for Error
impl FromGodot for Error
§fn try_from_godot(
via: <Error as GodotConvert>::Via,
) -> Result<Error, ConvertError>
fn try_from_godot( via: <Error as GodotConvert>::Via, ) -> Result<Error, ConvertError>
Converts the Godot representation to this type, returning
Err
on failure.§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
⚠️ Converts the Godot representation to this type. Read more
§fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
Performs the conversion from a
Variant
, returning Err
on failure.§fn from_variant(variant: &Variant) -> Self
fn from_variant(variant: &Variant) -> Self
impl Copy for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)